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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.007181/0.007181, allocations: 100.9 kB / 15.87 MB, free: 6.328 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.001733/0.001733, allocations: 193.5 kB / 16.79 MB, free: 6.254 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.33/1.33, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.7106 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 63.91 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6263/0.6277, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002784/0.6306, allocations: 1.585 MB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.6319, allocations: 0.7597 MB / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.632, allocations: 0 / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.6321, allocations: 0 / 1.02 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.059e-05/0.6321, allocations: 11.88 kB / 1.02 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.6327, allocations: 119.7 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.6328, allocations: 91.75 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.649e-05/0.6329, allocations: 12 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.633, allocations: 47.83 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.6331, allocations: 51.8 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.6331, allocations: 8 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.6334, allocations: 95.95 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.952e-05/0.6334, allocations: 11.98 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.596e-05/0.6335, allocations: 47.66 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.6337, allocations: 109.8 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6337, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6337, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.6337, allocations: 0 / 1.02 GB, free: 15.82 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.0006934/0.6344, allocations: 466.5 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.6344, allocations: 12.03 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.6345, allocations: 8.844 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.6346, allocations: 179.5 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.6347, allocations: 4.375 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.6347, allocations: 12.31 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.635, allocations: 89.88 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.635, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.635, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.635, allocations: 4 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.6352, allocations: 47.95 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.6359, allocations: 340.6 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.6361, allocations: 66.55 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.6363, allocations: 44.83 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.6363, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002433/0.6365, allocations: 91.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.6365, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005296/0.6371, allocations: 185.5 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.6371, allocations: 59.39 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.6373, allocations: 125.8 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.6373, allocations: 33.69 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.6373, allocations: 92 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.6374, allocations: 15.75 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.6374, allocations: 37.7 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6375, allocations: 322.8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.18e-05/0.6376, allocations: 31.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.6378, allocations: 60.27 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/0.638, allocations: 96.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.638, allocations: 0 / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002758/0.6382, allocations: 129.4 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6383, allocations: 4 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.6383, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.6383, allocations: 8.094 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.6384, allocations: 15.92 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.6384, allocations: 4 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.432e-05/0.6385, allocations: 15.89 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.6385, allocations: 7.938 kB / 1.023 GB, free: 12.99 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.921e-05/0.6387, allocations: 118.3 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.6387, allocations: 11.94 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.6387, allocations: 20.36 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6387, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6387, allocations: 3.938 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6387, allocations: 0 / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.6393, allocations: 430.3 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6393, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.6394, allocations: 4 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.6394, allocations: 3.984 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.6394, allocations: 12 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.6394, allocations: 4.062 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6394, allocations: 3.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.6398, allocations: 243.3 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.6399, allocations: 85.02 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.6399, allocations: 3.984 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.64, allocations: 8 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.6401, allocations: 11.92 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.6401, allocations: 8 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.6402, allocations: 95.14 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.6402, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003221/0.6405, allocations: 43.98 kB / 1.024 GB, free: 11.8 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.0003702/0.6409, allocations: 155 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.6412, allocations: 91.88 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6412, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.6414, allocations: 55.84 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.6417, allocations: 16.17 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.6422, allocations: 235.5 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.6424, allocations: 0.6926 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.6425, allocations: 15.44 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6425, allocations: 0 / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of Templates: time 0.00388/0.6464, allocations: 1.783 MB / 1.027 GB, free: 8.719 MB / 0.7794 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) Reference file matches