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.001667/0.001667, allocations: 113.6 kB / 16.42 MB, free: 6.406 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.002257/0.002257, allocations: 183.9 kB / 17.35 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.809/2.809, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.394/3.394, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.005396/1.104, allocations: 1.487 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002816/1.106, allocations: 0.7284 MB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/1.107, allocations: 4 kB / 1.211 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 7.499e-05/1.107, allocations: 7.875 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001267/1.107, allocations: 11.86 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/1.108, allocations: 127.6 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/1.108, allocations: 71.77 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/1.108, allocations: 19.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/1.108, allocations: 43.83 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/1.109, allocations: 31.91 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.897e-05/1.109, allocations: 8 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/1.109, allocations: 91.84 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/1.109, allocations: 19.92 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/1.109, allocations: 31.84 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003886/1.11, allocations: 143.3 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.11, allocations: 4 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/1.11, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.145e-06/1.11, allocations: 0 / 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.001086/1.111, allocations: 423 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.523e-05/1.111, allocations: 11.97 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/1.111, allocations: 8.844 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/1.111, allocations: 172.2 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/1.111, allocations: 4.359 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/1.111, allocations: 12.38 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/1.112, allocations: 69.97 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/1.112, allocations: 7.984 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.112, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/1.112, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/1.112, allocations: 35.97 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/1.113, allocations: 328.6 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/1.113, allocations: 42.56 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/1.114, allocations: 32.97 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/1.114, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/1.114, allocations: 79.38 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.347e-06/1.114, allocations: 4 kB / 1.212 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007348/1.115, allocations: 141.5 kB / 1.212 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.115, allocations: 59.41 kB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/1.115, allocations: 121.8 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/1.115, allocations: 25.7 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/1.115, allocations: 88.12 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/1.115, allocations: 15.81 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/1.115, allocations: 33.7 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.116, allocations: 326.8 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/1.116, allocations: 19.98 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/1.116, allocations: 58.81 kB / 1.213 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/1.116, allocations: 82.78 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.116, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004817/1.117, allocations: 113.5 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.117, allocations: 4 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.117, allocations: 0 / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/1.117, allocations: 4 kB / 1.213 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/1.117, allocations: 15.92 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/1.117, allocations: 4.062 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/1.117, allocations: 11.94 kB / 1.213 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/1.117, allocations: 4 kB / 1.213 GB, free: 8.262 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 0.000153/1.117, allocations: 117.8 kB / 1.214 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/1.118, allocations: 11.89 kB / 1.214 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/1.118, allocations: 8.375 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.118, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.118, allocations: 0 / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/1.118, allocations: 89.02 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/1.118, allocations: 0 / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/1.118, allocations: 11.92 kB / 1.214 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/1.118, allocations: 8 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005419/1.119, allocations: 188.8 kB / 1.214 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005967/1.119, allocations: 286.8 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001793/1.119, allocations: 27.98 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.782e-05/1.119, allocations: 91.27 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of Backend: time 5.61e-07/1.119, allocations: 0 / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001263/1.121, allocations: 198.1 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0008393/1.122, allocations: 0.6137 MB / 1.215 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of Templates: time 0.00809/1.13, allocations: 1.53 MB / 1.217 GB, free: 5.008 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) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0