Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001534/0.001534, allocations: 103.4 kB / 16.35 MB, free: 5.828 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.00174/0.00174, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.361/1.361, 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 9.1.2-maint.9.1.x/package.mo): time 2.199/2.199, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 64.22 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2684, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003041/0.2714, allocations: 1.52 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.2728, allocations: 0.7479 MB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.2728, allocations: 4 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.518e-05/0.2729, allocations: 11.86 kB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.273, allocations: 11.88 kB / 0.9534 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.2736, allocations: 143.6 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.2738, allocations: 99.69 kB / 0.9536 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.266e-05/0.2739, allocations: 12 kB / 0.9536 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.274, allocations: 51.89 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.2741, allocations: 55.8 kB / 0.9537 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.2741, allocations: 8 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.2743, allocations: 99.84 kB / 0.9538 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.2743, allocations: 23.91 kB / 0.9538 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.571e-05/0.2744, allocations: 39.86 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.2747, allocations: 167.5 kB / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2747, allocations: 0 / 0.954 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2747, allocations: 3.938 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.2747, allocations: 0 / 0.954 GB, free: 5.039 MB / 0.7325 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.0006714/0.2754, allocations: 458.6 kB / 0.9545 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2754, allocations: 12.03 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.2755, allocations: 20.75 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.2756, allocations: 172.2 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.55e-05/0.2756, allocations: 4.375 kB / 0.9547 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.2756, allocations: 4.375 kB / 0.9547 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.2759, allocations: 93.94 kB / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.2759, allocations: 0 / 0.9548 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2759, allocations: 4 kB / 0.9548 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.2759, allocations: 0 / 0.9548 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.2761, allocations: 55.89 kB / 0.9548 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007326/0.2769, allocations: 348.6 kB / 0.9551 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.277, allocations: 62.64 kB / 0.9552 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2772, allocations: 48.77 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2772, allocations: 4 kB / 0.9553 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.2774, allocations: 103.3 kB / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.2774, allocations: 0 / 0.9554 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0005307/0.278, allocations: 189.6 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.278, allocations: 51.41 kB / 0.9556 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.2781, allocations: 133.8 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.2782, allocations: 25.7 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.2782, allocations: 96.14 kB / 0.9558 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2782, allocations: 15.8 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.2783, allocations: 33.7 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2784, allocations: 318.8 kB / 0.9562 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.2785, allocations: 27.97 kB / 0.9562 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.2786, allocations: 72.28 kB / 0.9563 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.2788, allocations: 92.2 kB / 0.9564 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2788, allocations: 4 kB / 0.9564 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002515/0.279, allocations: 133.5 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.2791, allocations: 8 kB / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2791, allocations: 0 / 0.9565 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.2791, allocations: 4 kB / 0.9565 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.2792, allocations: 11.98 kB / 0.9565 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2792, allocations: 7.938 kB / 0.9565 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.2793, allocations: 11.84 kB / 0.9565 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.2793, allocations: 8 kB / 0.9565 GB, free: 2.191 MB / 0.7325 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.673e-05/0.2794, allocations: 129.8 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.2794, allocations: 7.906 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.2795, allocations: 12.38 kB / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2795, allocations: 0 / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2795, allocations: 0 / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.2795, allocations: 0 / 0.9567 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/0.2801, allocations: 430.3 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2801, allocations: 8 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.2801, allocations: 0 / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2801, allocations: 4 kB / 0.9571 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2802, allocations: 3.984 kB / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2802, allocations: 0 / 0.9571 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2802, allocations: 3.984 kB / 0.9571 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.2805, allocations: 247.4 kB / 0.9574 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.2806, allocations: 88.95 kB / 0.9574 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.2806, allocations: 7.984 kB / 0.9574 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2807, allocations: 4 kB / 0.9574 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.2808, allocations: 15.86 kB / 0.9575 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2808, allocations: 4 kB / 0.9575 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.2809, allocations: 99.02 kB / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2809, allocations: 0 / 0.9576 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002981/0.2812, allocations: 47.92 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008409/0.2896, allocations: 155.7 kB / 0.9578 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.29, allocations: 91.88 kB / 0.9578 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.29, allocations: 4.188 kB / 0.9578 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.2902, allocations: 52.44 kB / 0.9579 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.2907, allocations: 16.08 kB / 0.9579 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.2912, allocations: 200.1 kB / 0.9581 GB, free: 476 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2915, allocations: 0.7 MB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.53e-05/0.2915, allocations: 7.984 kB / 0.9588 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.2916, allocations: 11.44 kB / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2916, allocations: 0 / 0.9588 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of Templates: time 0.00415/0.2957, allocations: 1.744 MB / 0.9605 GB, free: 13.99 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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