Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 111.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.001925/0.001925, 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 1.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6698/0.6711, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002427/0.6735, allocations: 1.503 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.6747, allocations: 0.7245 MB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.389e-05/0.6748, allocations: 7.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.173e-05/0.6749, allocations: 3.938 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.6749, allocations: 11.88 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.6755, allocations: 119.6 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.6756, allocations: 79.75 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.383e-05/0.6757, allocations: 11.95 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.6758, allocations: 35.92 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.6759, allocations: 51.81 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.6759, allocations: 4 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.6761, allocations: 91.84 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.6761, allocations: 19.92 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.6762, allocations: 31.86 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.6764, allocations: 143.3 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.6764, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6764, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.6764, allocations: 0 / 1.211 GB, free: 10.8 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.0005935/0.677, allocations: 423 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.6771, allocations: 11.97 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.6771, allocations: 8.844 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.6772, allocations: 172.3 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.6772, allocations: 12.36 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.6773, allocations: 4.375 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.6774, allocations: 65.97 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.6775, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.6775, allocations: 7.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.6775, allocations: 4 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.6776, allocations: 39.86 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.6782, allocations: 316.7 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.6783, allocations: 50.56 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.964e-05/0.6784, allocations: 32.97 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.6784, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.6786, allocations: 79.38 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.6786, allocations: 0 / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003657/0.679, allocations: 137.5 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.679, allocations: 55.41 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.6791, allocations: 125.7 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.6791, allocations: 33.7 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.6792, allocations: 84.14 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.6792, allocations: 19.8 kB / 1.213 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.6793, allocations: 25.7 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.6794, allocations: 318.8 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.6794, allocations: 31.98 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.6795, allocations: 54.48 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.6797, allocations: 70.84 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6797, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002343/0.68, allocations: 117.5 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.68, allocations: 11.98 kB / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.68, allocations: 0 / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.68, allocations: 0 / 1.213 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.6801, allocations: 11.94 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6801, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.705e-05/0.6802, allocations: 19.86 kB / 1.213 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.6802, allocations: 0 / 1.213 GB, free: 8.254 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 7.993e-05/0.6803, allocations: 131.6 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.6803, allocations: 3.906 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.6803, allocations: 12.36 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6804, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6804, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.6804, allocations: 85.02 kB / 1.213 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.6804, allocations: 7.938 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.6805, allocations: 11.92 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.523e-05/0.6805, allocations: 3.938 kB / 1.213 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002767/0.6808, allocations: 192.9 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002786/0.6811, allocations: 274.8 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.502e-05/0.6812, allocations: 35.92 kB / 1.214 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.6813, allocations: 95.27 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of Backend: time 2.9e-07/0.6813, allocations: 4 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006147/0.6819, allocations: 178.3 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004333/0.6823, allocations: 0.6291 MB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of Templates: time 0.00385/0.6862, allocations: 1.497 MB / 1.216 GB, free: 5.027 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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