Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001472/0.001472, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.781/2.781, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 65.31 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.766/0.7679, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002599/0.7706, allocations: 1.485 MB / 1.084 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.7717, allocations: 0.7296 MB / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.7718, allocations: 0 / 1.085 GB, free: 120 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.7718, allocations: 6.375 kB / 1.085 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.7719, allocations: 13.72 kB / 1.085 GB, free: 104 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000518/0.7724, allocations: 119.9 kB / 1.085 GB, free: 44 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.7725, allocations: 73.55 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.7726, allocations: 15.45 kB / 1.085 GB, free: 16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.7727, allocations: 29.78 kB / 1.085 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.7728, allocations: 33.91 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.7728, allocations: 9.125 kB / 1.085 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001996/0.773, allocations: 98.31 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.7731, allocations: 21.69 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.7731, allocations: 28.33 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.7734, allocations: 136.5 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7734, allocations: 0.6875 kB / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7734, allocations: 0 / 1.086 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.7734, allocations: 0.6562 kB / 1.086 GB, free: 15.86 MB / 0.8419 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.0006497/0.7741, allocations: 447.1 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.7741, allocations: 9.219 kB / 1.086 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.542e-05/0.7742, allocations: 9.266 kB / 1.086 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.7743, allocations: 173.3 kB / 1.086 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.7743, allocations: 11.16 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.7744, allocations: 5.031 kB / 1.086 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.7746, allocations: 68.97 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7746, allocations: 0 / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.7746, allocations: 5 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.7746, allocations: 5.812 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.7748, allocations: 35.44 kB / 1.086 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005096/0.7753, allocations: 295.4 kB / 1.087 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.7754, allocations: 49.73 kB / 1.087 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.7756, allocations: 36.48 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.7756, allocations: 1.125 kB / 1.087 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.7758, allocations: 81.08 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.7758, allocations: 0 / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004079/0.7762, allocations: 138 kB / 1.087 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.7762, allocations: 60.78 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.7764, allocations: 123.1 kB / 1.087 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.7764, allocations: 32.03 kB / 1.087 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.7765, allocations: 88.94 kB / 1.087 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.7765, allocations: 14.64 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.7765, allocations: 24.23 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7767, allocations: 323.9 kB / 1.088 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.715e-05/0.7768, allocations: 24.75 kB / 1.088 GB, free: 14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.7769, allocations: 63.73 kB / 1.088 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.7771, allocations: 95.95 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7771, allocations: 0 / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002361/0.7773, allocations: 113 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.7773, allocations: 5.562 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.7774, allocations: 5.484 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.7774, allocations: 6.625 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.7775, allocations: 13.06 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.7775, allocations: 2.281 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.666e-05/0.7775, allocations: 12.91 kB / 1.088 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.7776, allocations: 4.922 kB / 1.088 GB, free: 13.8 MB / 0.8419 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.851e-05/0.7777, allocations: 125.7 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.7777, allocations: 7.312 kB / 1.088 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.7777, allocations: 10.38 kB / 1.088 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7777, allocations: 6.75 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.7777, allocations: 5.094 kB / 1.088 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7778, allocations: 3.938 kB / 1.088 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004885/0.7783, allocations: 377.4 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.7783, allocations: 1.219 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.7783, allocations: 3.5 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7783, allocations: 2.344 kB / 1.088 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.7783, allocations: 10.06 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.7783, allocations: 4.391 kB / 1.088 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.7784, allocations: 5.312 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.7787, allocations: 206.3 kB / 1.089 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/0.7787, allocations: 87.14 kB / 1.089 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.7788, allocations: 2.094 kB / 1.089 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.7789, allocations: 4.5 kB / 1.089 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.7789, allocations: 16.81 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.7789, allocations: 3.75 kB / 1.089 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.789e-05/0.779, allocations: 91.77 kB / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.094e-06/0.779, allocations: 0 / 1.089 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003157/0.7793, allocations: 42.42 kB / 1.089 GB, free: 12.93 MB / 0.8419 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.0003525/0.7797, allocations: 156.3 kB / 1.089 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.7799, allocations: 71.3 kB / 1.089 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7799, allocations: 3.938 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.7801, allocations: 33.58 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.7803, allocations: 14.33 kB / 1.089 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004386/0.7808, allocations: 219.9 kB / 1.089 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.7811, allocations: 0.6871 MB / 1.09 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.7811, allocations: 16.17 kB / 1.09 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.7812, allocations: 0 / 1.09 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.003832/0.785, allocations: 1.572 MB / 1.092 GB, free: 11.75 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches