Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006227/0.006227, allocations: 100.5 kB / 15.73 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 184.8 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 66.45 kB / 0.9504 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3153, allocations: 140.4 MB / 1.087 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002929/0.3182, allocations: 1.486 MB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.3197, allocations: 0.7259 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.946e-05/0.3198, allocations: 0 / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.566e-05/0.3199, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.32, allocations: 19.84 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.3205, allocations: 111.6 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3207, allocations: 71.78 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.3208, allocations: 19.97 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.3209, allocations: 31.91 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.434e-05/0.3209, allocations: 35.84 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.321, allocations: 4 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.3212, allocations: 99.84 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.3212, allocations: 11.92 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.513e-05/0.3212, allocations: 31.86 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.3215, allocations: 138.5 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3215, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3215, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3215, allocations: 3.938 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006521/0.3222, allocations: 443.5 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3222, allocations: 8.031 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.3223, allocations: 38.69 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.3223, allocations: 8.844 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.3224, allocations: 184.1 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3225, allocations: 12.38 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.3225, allocations: 4.375 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3227, allocations: 69.78 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.3227, allocations: 0 / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3227, allocations: 4 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3227, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.3229, allocations: 39.91 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.3234, allocations: 300.7 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3235, allocations: 50.56 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.3236, allocations: 28.97 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.3237, allocations: 4 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.324, allocations: 83.39 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.324, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004423/0.3244, allocations: 141.5 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3245, allocations: 51.41 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.3246, allocations: 117.8 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3246, allocations: 29.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.3247, allocations: 96.03 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3247, allocations: 19.81 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.3248, allocations: 25.7 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3249, allocations: 322.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.325, allocations: 19.98 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-05/0.3251, allocations: 65.02 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3253, allocations: 93.06 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3253, allocations: 0 / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.3256, allocations: 113.5 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.3256, allocations: 8 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.3256, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3256, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.3257, allocations: 11.98 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3258, allocations: 3.938 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.3258, allocations: 19.84 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.3258, allocations: 4.156 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.499e-05/0.326, allocations: 121.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.326, allocations: 7.906 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.326, allocations: 12.36 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.326, allocations: 3.938 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.326, allocations: 0 / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.326, allocations: 8.031 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.3265, allocations: 378.7 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3265, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-05/0.3266, allocations: 4 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3266, allocations: 0 / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.3266, allocations: 11.98 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3266, allocations: 3.938 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.3266, allocations: 4 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.3269, allocations: 211.4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.327, allocations: 89 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.327, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.3271, allocations: 7.938 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.3272, allocations: 7.984 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3272, allocations: 4 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.3272, allocations: 95.86 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3273, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003131/0.3276, allocations: 36 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007767/0.3284, allocations: 0.8087 MB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3286, allocations: 71.89 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3286, allocations: 0 / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.3287, allocations: 31.98 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.329, allocations: 15.92 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3306, allocations: 1.504 MB / 1.096 GB, free: 8.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3309, allocations: 0.6885 MB / 1.096 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.3309, allocations: 7.75 kB / 1.096 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.331, allocations: 23.42 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.331, allocations: 0 / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.3507, allocations: 2.665 MB / 1.099 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.162, allocations: 16.89 kB / 1.099 GB, free: 5.664 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time