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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01292/0.01292, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001892/0.001892, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 461.9 MB / 0.7348 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 1.054 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8777/0.8789, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002526/0.8815, allocations: 1.497 MB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8827, allocations: 0.7206 MB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.8828, allocations: 0 / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.8828, allocations: 3.938 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.497e-05/0.8829, allocations: 11.86 kB / 1.21 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005827/0.8835, allocations: 127.5 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.8836, allocations: 63.78 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.8837, allocations: 19.95 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.8838, allocations: 35.84 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.8839, allocations: 35.83 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.8839, allocations: 8 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.8841, allocations: 91.91 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.8841, allocations: 11.98 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.8842, allocations: 35.8 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.8844, allocations: 143.4 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.8844, allocations: 4 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8844, allocations: 0 / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.8844, allocations: 0 / 1.21 GB, free: 10.87 MB / 0.9356 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.0005962/0.885, allocations: 440.5 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.8851, allocations: 12.03 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.8851, allocations: 8.844 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.8852, allocations: 172.2 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.8853, allocations: 384 / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.8853, allocations: 12.36 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.8855, allocations: 81.89 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8855, allocations: 0 / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.8855, allocations: 3.984 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.8855, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.8857, allocations: 31.98 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004992/0.8862, allocations: 292.8 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.8863, allocations: 62.44 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.273e-05/0.8864, allocations: 32.97 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.8864, allocations: 3.984 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.8866, allocations: 71.38 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.8866, allocations: 0 / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.000394/0.887, allocations: 145.6 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.8871, allocations: 55.34 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.286e-05/0.8872, allocations: 129.7 kB / 1.212 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.8872, allocations: 25.7 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.8873, allocations: 92.14 kB / 1.212 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.8873, allocations: 11.81 kB / 1.212 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.8873, allocations: 29.7 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.8874, allocations: 326.8 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.127e-05/0.8875, allocations: 19.98 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.271e-05/0.8876, allocations: 61.14 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.8878, allocations: 89.06 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.8878, allocations: 4 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002165/0.888, allocations: 113.5 kB / 1.213 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.888, allocations: 8 kB / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8881, allocations: 0 / 1.213 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.8881, allocations: 4 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.8882, allocations: 19.92 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.8882, allocations: 4 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.8883, allocations: 7.938 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.8883, allocations: 8 kB / 1.213 GB, free: 8.27 MB / 0.9356 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.397e-05/0.8884, allocations: 133.7 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.8884, allocations: 11.84 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.8884, allocations: 8.375 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.8884, allocations: 0 / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8884, allocations: 4 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.8885, allocations: 0 / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.8889, allocations: 374.8 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8889, allocations: 4 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.8889, allocations: 7.984 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.889, allocations: 4 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.889, allocations: 3.938 kB / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.889, allocations: 0 / 1.213 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.889, allocations: 3.938 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.8893, allocations: 207.4 kB / 1.213 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.8893, allocations: 88.95 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.8893, allocations: 4.047 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.8894, allocations: 7.984 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.8895, allocations: 11.92 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.8895, allocations: 0 / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.8896, allocations: 95.27 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8896, allocations: 0 / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003012/0.8899, allocations: 39.98 kB / 1.214 GB, free: 7.176 MB / 0.9356 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.0003274/0.8902, allocations: 161.3 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.8904, allocations: 71.84 kB / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8904, allocations: 0 / 1.214 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.8906, allocations: 39.95 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.8908, allocations: 14.19 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.8912, allocations: 195.8 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.8915, allocations: 0.6885 MB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.565e-05/0.8915, allocations: 7.984 kB / 1.215 GB, free: 5.961 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.8916, allocations: 11.44 kB / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.8916, allocations: 0 / 1.215 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.003943/0.8955, allocations: 1.443 MB / 1.216 GB, free: 4.508 MB / 0.9356 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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,bli.t0,occ.startTime,occ.startValue,occ.y,time