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.0009224/0.0009225, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007859/0.007859, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.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.761/2.761, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 16 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7288/0.7292, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001927/0.7312, allocations: 1.23 MB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.7328, allocations: 0.7443 MB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.828e-05/0.7329, allocations: 3.938 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.7329, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.733, allocations: 15.86 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000613/0.7336, allocations: 119.8 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.7338, allocations: 99.73 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.7339, allocations: 12 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.734, allocations: 35.84 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.7341, allocations: 55.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.7341, allocations: 4 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.7344, allocations: 91.84 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.898e-05/0.7344, allocations: 27.91 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.7345, allocations: 65.48 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.7348, allocations: 157.6 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7348, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7348, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.7348, allocations: 0 / 1.026 GB, free: 13.15 MB / 0.7794 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.0006729/0.7355, allocations: 446.6 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.7355, allocations: 12.03 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.7356, allocations: 12.84 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.7358, allocations: 184.2 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.7358, allocations: 384 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.7358, allocations: 8.375 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.7361, allocations: 93.88 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.7361, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.7362, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7362, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.7364, allocations: 55.91 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.7371, allocations: 348.7 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.7373, allocations: 62.55 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.7375, allocations: 52.77 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.7375, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.7378, allocations: 103.5 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.7378, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005859/0.7384, allocations: 197.5 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.7384, allocations: 55.39 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.7386, allocations: 125.7 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.7386, allocations: 33.69 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.7386, allocations: 95.91 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.7387, allocations: 15.75 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.7387, allocations: 25.7 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7388, allocations: 326.8 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.235e-05/0.7389, allocations: 31.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.739, allocations: 68.27 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001922/0.7392, allocations: 100.2 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7393, allocations: 0 / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002788/0.7395, allocations: 137.5 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.7396, allocations: 8 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.7396, allocations: 0 / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.7396, allocations: 4 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.7397, allocations: 15.92 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.7397, allocations: 4 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.7398, allocations: 4 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.7398, allocations: 12.08 kB / 1.028 GB, free: 10.29 MB / 0.7794 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.617e-05/0.74, allocations: 126.3 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.74, allocations: 7.906 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.871e-05/0.74, allocations: 12.41 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.74, allocations: 4 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.74, allocations: 0 / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.74, allocations: 3.938 kB / 1.028 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.7406, allocations: 442.2 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7406, allocations: 4 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.7407, allocations: 4.062 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.7407, allocations: 7.984 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.7407, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7407, allocations: 0 / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7407, allocations: 11.88 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003884/0.7411, allocations: 255.3 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.7412, allocations: 85.03 kB / 1.029 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.7412, allocations: 4 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.7413, allocations: 12 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.231e-05/0.7414, allocations: 11.92 kB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.7414, allocations: 7.984 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.223e-05/0.7414, allocations: 91.27 kB / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7414, allocations: 0 / 1.029 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003196/0.7418, allocations: 43.91 kB / 1.029 GB, free: 9.078 MB / 0.7794 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.0003454/0.7421, allocations: 162.1 kB / 1.029 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002916/0.7424, allocations: 99.88 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7424, allocations: 0 / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.7426, allocations: 56.09 kB / 1.03 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.7429, allocations: 8.984 kB / 1.03 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.7433, allocations: 228.9 kB / 1.03 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.7435, allocations: 0.6887 MB / 1.03 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.7436, allocations: 7.938 kB / 1.03 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.7436, allocations: 15.42 kB / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7436, allocations: 0 / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of Templates: time 0.004284/0.7479, allocations: 1.65 MB / 1.032 GB, free: 6.129 MB / 0.7794 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/jenkins/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