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.001325/0.001325, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001285/0.001285, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.47/2.47, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6899/0.6914, allocations: 151.6 MB / 1.167 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002582/0.694, allocations: 1.521 MB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.6952, allocations: 0.7518 MB / 1.17 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.6953, allocations: 7.938 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.6953, allocations: 3.938 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.6954, allocations: 15.86 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.696, allocations: 135.6 kB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.6961, allocations: 103.7 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.6962, allocations: 12 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.668e-05/0.6963, allocations: 47.89 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.6964, allocations: 59.8 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.949e-05/0.6965, allocations: 8 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.6967, allocations: 95.84 kB / 1.17 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.6967, allocations: 23.92 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.6968, allocations: 39.83 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.6971, allocations: 167.2 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6971, allocations: 4 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6971, allocations: 0 / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.6971, allocations: 3.938 kB / 1.17 GB, free: 0.8984 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.0006281/0.6977, allocations: 460.6 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.6978, allocations: 8.031 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.6978, allocations: 8.844 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.6979, allocations: 181.1 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.698, allocations: 4.375 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.698, allocations: 8.375 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.6982, allocations: 89.88 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.6982, allocations: 7.938 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6983, allocations: 0 / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6983, allocations: 4 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.6984, allocations: 43.97 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.6992, allocations: 332.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.6994, allocations: 66.58 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.6995, allocations: 44.84 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.6995, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.6997, allocations: 99.28 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.6998, allocations: 4 kB / 1.172 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005152/0.7003, allocations: 185.6 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.7003, allocations: 55.41 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.7004, allocations: 127.1 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.7004, allocations: 25.7 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.7005, allocations: 96.05 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.7005, allocations: 23.73 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/0.7006, allocations: 33.7 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.268e-05/0.7007, allocations: 322.8 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.613e-05/0.7008, allocations: 31.97 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.709e-05/0.7009, allocations: 57.78 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/0.701, allocations: 100.2 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.7011, allocations: 0 / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002528/0.7013, allocations: 133.4 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.7013, allocations: 4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.7014, allocations: 8.094 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7014, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.7015, allocations: 15.98 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7015, allocations: 3.938 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.7016, allocations: 8 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.7016, allocations: 4 kB / 1.173 GB, free: 14.09 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.026e-05/0.7017, allocations: 129.7 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.7017, allocations: 11.91 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.7018, allocations: 8.375 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.7018, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.7018, allocations: 0 / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.7018, allocations: 85.02 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.7018, allocations: 3.984 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/0.7019, allocations: 11.94 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.702, allocations: 7.984 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003861/0.7024, allocations: 228.8 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000385/0.7028, allocations: 306.7 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001272/0.7029, allocations: 43.97 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.703, allocations: 99.27 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of Backend: time 1.553e-06/0.703, allocations: 4 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006506/0.7036, allocations: 206 kB / 1.174 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004866/0.7041, allocations: 0.6254 MB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of Templates: time 0.004369/0.7085, allocations: 1.718 MB / 1.176 GB, free: 10.54 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) "" 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