Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001885/0.001885, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.17 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.408/2.408, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 67.83 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7236/0.7249, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002919/0.7279, allocations: 1.51 MB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.7293, allocations: 0.7557 MB / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.7294, allocations: 0 / 1.17 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.7295, allocations: 3.938 kB / 1.17 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.72e-05/0.7295, allocations: 19.84 kB / 1.17 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.7301, allocations: 143.5 kB / 1.17 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.7303, allocations: 103.7 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.7305, allocations: 12 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.495e-05/0.7306, allocations: 47.84 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.7307, allocations: 55.8 kB / 1.17 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.7307, allocations: 8 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.7309, allocations: 99.91 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.731, allocations: 19.91 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.731, allocations: 47.78 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.7313, allocations: 163.2 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7313, allocations: 4 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.283e-06/0.7313, allocations: 0 / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7313, allocations: 0 / 1.17 GB, free: 0.8945 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.0006603/0.732, allocations: 460.5 kB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.732, allocations: 12.03 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.7321, allocations: 8.844 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.7322, allocations: 177.2 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.7323, allocations: 4.375 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.7323, allocations: 8.375 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.7325, allocations: 105.7 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.7326, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.7326, allocations: 4 kB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.7326, allocations: 0 / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.7328, allocations: 51.95 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.7335, allocations: 340.7 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.7337, allocations: 58.55 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.7339, allocations: 40.84 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.7339, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.7341, allocations: 107.5 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.7342, allocations: 0 / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005817/0.7347, allocations: 189.5 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.7348, allocations: 51.41 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.7349, allocations: 135.5 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.7349, allocations: 25.7 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.735, allocations: 96.05 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.735, allocations: 15.75 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.7351, allocations: 29.7 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7352, allocations: 322.8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.539e-05/0.7353, allocations: 27.98 kB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.7354, allocations: 68.27 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.7356, allocations: 92.2 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7357, allocations: 4 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002591/0.7359, allocations: 129.4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7359, allocations: 10.5 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.736, allocations: 3.984 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.736, allocations: 4 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.7361, allocations: 11.94 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.7361, allocations: 7.984 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.7362, allocations: 4 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.7362, allocations: 12.09 kB / 1.173 GB, free: 14.07 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.461e-05/0.7363, allocations: 124.8 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.7363, allocations: 11.89 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.863e-05/0.7364, allocations: 12.38 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7364, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7364, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.7364, allocations: 84.95 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.7365, allocations: 4 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.7366, allocations: 19.86 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.7366, allocations: 15.92 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004293/0.7371, allocations: 216.9 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004451/0.7375, allocations: 322.6 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001486/0.7377, allocations: 48.38 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.868e-05/0.7378, allocations: 101.5 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of Backend: time 3.81e-07/0.7378, allocations: 0 / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006783/0.7385, allocations: 200.1 kB / 1.174 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005074/0.739, allocations: 0.6195 MB / 1.174 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of Templates: time 0.004436/0.7434, allocations: 1.733 MB / 1.176 GB, free: 10.49 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0