Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 106.5 kB / 16.41 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.001776/0.001776, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 64.08 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7962, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002554/0.7987, allocations: 1.517 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.8001, allocations: 0.7595 MB / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.8001, allocations: 0 / 1.17 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.8002, allocations: 3.938 kB / 1.17 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.228e-05/0.8002, allocations: 15.8 kB / 1.17 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.8009, allocations: 143.6 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.801, allocations: 103.7 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.668e-05/0.8011, allocations: 12 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.8013, allocations: 43.89 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.8014, allocations: 55.8 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.8014, allocations: 12 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.8016, allocations: 99.84 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.8017, allocations: 27.91 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.722e-05/0.8017, allocations: 43.78 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.802, allocations: 159.3 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.802, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.953e-06/0.802, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.802, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007827/0.8028, allocations: 460.6 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8029, allocations: 8.031 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.782e-05/0.8029, allocations: 12.84 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.8031, allocations: 184.1 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.867e-05/0.8031, allocations: 8.375 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.8032, allocations: 4.375 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.8034, allocations: 85.94 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.8035, allocations: 0 / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.8035, allocations: 4 kB / 1.171 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8035, allocations: 4 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.8037, allocations: 47.95 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.8045, allocations: 336.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.8046, allocations: 62.48 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.8048, allocations: 48.83 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.8048, allocations: 3.938 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.805, allocations: 99.38 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.805, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005332/0.8056, allocations: 181.7 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.8056, allocations: 55.41 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.8057, allocations: 126.7 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.8057, allocations: 29.7 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.8058, allocations: 92.05 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.8058, allocations: 23.73 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.8059, allocations: 29.7 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.806, allocations: 326.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.8061, allocations: 35.92 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.8062, allocations: 65.89 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.8064, allocations: 96.22 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8064, allocations: 0 / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002584/0.8067, allocations: 133.4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.8067, allocations: 4 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.8067, allocations: 0 / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8067, allocations: 4 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.8069, allocations: 11.98 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8069, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.007e-05/0.807, allocations: 8.094 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.807, allocations: 7.984 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.31e-05/0.8071, allocations: 133.7 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.8071, allocations: 7.906 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.8071, allocations: 8.375 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8071, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.8072, allocations: 0 / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.8072, allocations: 4 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005755/0.8077, allocations: 430.3 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.8078, allocations: 3.938 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.8078, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.8078, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.8078, allocations: 7.984 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.8078, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.8078, allocations: 3.938 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003899/0.8082, allocations: 255.7 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.8083, allocations: 77.11 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.8083, allocations: 0 / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.8085, allocations: 7.984 kB / 1.174 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.8085, allocations: 15.88 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.8085, allocations: 7.984 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.137e-05/0.8086, allocations: 95.27 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8086, allocations: 4 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003338/0.8089, allocations: 39.91 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003784/0.8093, allocations: 175.3 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.8096, allocations: 95.86 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8096, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.8098, allocations: 43.98 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002837/0.8101, allocations: 16.72 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.8105, allocations: 225.9 kB / 1.174 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.8108, allocations: 0.6885 MB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.8109, allocations: 15.44 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.8109, allocations: 0 / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of Templates: time 0.003768/0.8147, allocations: 1.794 MB / 1.177 GB, free: 9.809 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches