Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_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_latest_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.001806/0.001806, allocations: 110.6 kB / 16.42 MB, free: 6.461 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.002161/0.002161, allocations: 190.6 kB / 17.35 MB, free: 5.715 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.42/2.42, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 5.028/5.028, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 67.91 kB / 1.055 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.372/1.374, allocations: 157.4 MB / 1.208 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.004958/1.379, allocations: 1.52 MB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00241/1.381, allocations: 0.7596 MB / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/1.382, allocations: 0 / 1.211 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.62e-05/1.382, allocations: 7.875 kB / 1.211 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.935e-05/1.382, allocations: 15.84 kB / 1.211 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009691/1.383, allocations: 131.6 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/1.383, allocations: 103.7 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/1.383, allocations: 15.98 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/1.383, allocations: 43.89 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/1.384, allocations: 55.81 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/1.384, allocations: 12 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003389/1.384, allocations: 95.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/1.384, allocations: 27.91 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.653e-05/1.384, allocations: 35.84 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/1.385, allocations: 171.4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.385, allocations: 4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.783e-06/1.385, allocations: 0 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.367e-05/1.385, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001042/1.386, allocations: 452.6 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.386, allocations: 16.02 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.854e-05/1.386, allocations: 8.844 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/1.386, allocations: 184.1 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/1.386, allocations: 4.375 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/1.386, allocations: 8.375 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/1.387, allocations: 89.94 kB / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/1.387, allocations: 0 / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/1.387, allocations: 0 / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.387, allocations: 0 / 1.212 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/1.387, allocations: 51.89 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/1.388, allocations: 336.8 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/1.388, allocations: 54.55 kB / 1.212 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/1.389, allocations: 44.83 kB / 1.213 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/1.389, allocations: 7.984 kB / 1.213 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/1.389, allocations: 107.3 kB / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 2.826e-06/1.389, allocations: 0 / 1.213 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0008786/1.39, allocations: 181.7 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.306e-05/1.39, allocations: 51.41 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.39, allocations: 129.3 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/1.39, allocations: 33.7 kB / 1.213 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/1.39, allocations: 100 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/1.39, allocations: 15.75 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/1.391, allocations: 33.7 kB / 1.213 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.391, allocations: 322.8 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/1.391, allocations: 35.92 kB / 1.213 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/1.391, allocations: 64.27 kB / 1.214 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/1.391, allocations: 92.2 kB / 1.214 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.391, allocations: 4 kB / 1.214 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004956/1.392, allocations: 129.4 kB / 1.214 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/1.392, allocations: 8 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.392, allocations: 0 / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.392, allocations: 4 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.392, allocations: 11.98 kB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.392, allocations: 4 kB / 1.214 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/1.392, allocations: 11.98 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/1.392, allocations: 4 kB / 1.214 GB, free: 7.988 MB / 0.9356 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 0.0001517/1.393, allocations: 127.7 kB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/1.393, allocations: 7.906 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/1.393, allocations: 16.31 kB / 1.214 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.393, allocations: 3.984 kB / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.393, allocations: 0 / 1.214 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/1.393, allocations: 84.95 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/1.393, allocations: 4 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.393, allocations: 15.92 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/1.393, allocations: 4 kB / 1.214 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006591/1.394, allocations: 220.9 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006029/1.394, allocations: 314.6 kB / 1.215 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001834/1.395, allocations: 47.97 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.144e-05/1.395, allocations: 95.27 kB / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of Backend: time 3.096e-06/1.395, allocations: 0 / 1.215 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.396, allocations: 202.7 kB / 1.215 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006977/1.396, allocations: 0.6218 MB / 1.216 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.007108/1.404, allocations: 1.765 MB / 1.217 GB, free: 4.391 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0