Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 116.5 kB / 16.42 MB, free: 6.445 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.001177/0.001177, allocations: 187 kB / 17.34 MB, free: 5.742 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.338/1.338, 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 11.0.1-master/package.mo): time 2.534/2.534, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7971/0.7985, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002508/0.801, allocations: 1.485 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.8023, allocations: 0.7323 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.8024, allocations: 3.938 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.766e-05/0.8024, allocations: 3.938 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.612e-05/0.8025, allocations: 11.92 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005163/0.803, allocations: 119.6 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.8031, allocations: 79.81 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.43e-05/0.8032, allocations: 19.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.65e-05/0.8033, allocations: 39.84 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.368e-05/0.8034, allocations: 35.89 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.8034, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.8036, allocations: 91.84 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.8036, allocations: 19.92 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.8037, allocations: 27.86 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.8039, allocations: 143.3 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.8039, allocations: 7.938 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.142e-06/0.804, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.804, allocations: 3.938 kB / 1.211 GB, free: 10.82 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.0005946/0.8046, allocations: 426.9 kB / 1.212 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.8046, allocations: 12.03 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.8047, allocations: 8.844 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.8048, allocations: 172.3 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.8048, allocations: 384 / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.8048, allocations: 8.375 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.805, allocations: 73.97 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.805, allocations: 0 / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.8051, allocations: 3.984 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8051, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8052, allocations: 39.91 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/0.8058, allocations: 320.7 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.8059, allocations: 42.56 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.035e-05/0.806, allocations: 36.95 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.806, allocations: 80 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.8062, allocations: 91.3 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.8062, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003667/0.8066, allocations: 129.8 kB / 1.212 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.8067, allocations: 55.41 kB / 1.213 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.8068, allocations: 129.7 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.8068, allocations: 25.7 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.8068, allocations: 88.14 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.8069, allocations: 15.81 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.8069, allocations: 29.7 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.807, allocations: 326.8 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.141e-05/0.8071, allocations: 23.98 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.455e-05/0.8072, allocations: 58.8 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.8074, allocations: 78.61 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8074, allocations: 0 / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002436/0.8077, allocations: 113.5 kB / 1.213 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.8077, allocations: 4 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.8077, allocations: 0 / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8077, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.8078, allocations: 15.98 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8078, allocations: 4 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.8079, allocations: 11.94 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.8079, allocations: 4 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.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 8.413e-05/0.808, allocations: 124.8 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.808, allocations: 7.906 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.8081, allocations: 8.375 kB / 1.214 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.8081, allocations: 4 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8081, allocations: 7.938 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.8081, allocations: 0 / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.8085, allocations: 382.4 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8085, allocations: 0 / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.8086, allocations: 7.984 kB / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8086, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.8086, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.8086, allocations: 0 / 1.214 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8086, allocations: 3.938 kB / 1.214 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002696/0.8089, allocations: 219.3 kB / 1.214 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.809, allocations: 81.02 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.809, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.8091, allocations: 0 / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.8091, allocations: 15.92 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.8091, allocations: 7.938 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.795e-05/0.8092, allocations: 95.27 kB / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8092, allocations: 0 / 1.214 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000296/0.8095, allocations: 43.92 kB / 1.214 GB, free: 7.172 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 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.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.0003273/0.8098, allocations: 153.5 kB / 1.215 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.8101, allocations: 80.19 kB / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8101, allocations: 0 / 1.215 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/0.8102, allocations: 39.95 kB / 1.215 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.8104, allocations: 12.48 kB / 1.215 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003807/0.8108, allocations: 203.2 kB / 1.215 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.8111, allocations: 0.6885 MB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.8111, allocations: 19.42 kB / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.8111, allocations: 0 / 1.216 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.003313/0.8145, allocations: 1.609 MB / 1.217 GB, free: 4.324 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches