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.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.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.0008084/0.0008084, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009554/0.0009554, allocations: 177 kB / 16.92 MB, free: 6.652 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.293 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.573/2.573, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12 kB / 0.8735 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6501, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.001831/0.6519, allocations: 1.231 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001405/0.6534, allocations: 0.7365 MB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.6535, allocations: 7.938 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.6535, allocations: 3.984 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.211e-05/0.6536, allocations: 11.86 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000609/0.6542, allocations: 115.8 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.6544, allocations: 99.75 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.6545, allocations: 11.98 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.6546, allocations: 43.84 kB / 1.026 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.23e-05/0.6547, allocations: 47.81 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.6547, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.6549, allocations: 91.91 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.655, allocations: 23.91 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.059e-05/0.6551, allocations: 69.47 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.6553, allocations: 113.8 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.6553, allocations: 3.938 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.963e-06/0.6553, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.6553, allocations: 3.938 kB / 1.026 GB, free: 13.25 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.0006478/0.656, allocations: 446.6 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.656, allocations: 8.031 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.6561, allocations: 12.83 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.6562, allocations: 172.2 kB / 1.027 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.6562, allocations: 8.375 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.6563, allocations: 4.375 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.6565, allocations: 101.7 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6566, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6566, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6566, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.6568, allocations: 55.95 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007855/0.6576, allocations: 352.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.6578, allocations: 66.56 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.6579, allocations: 56.83 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.658, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.6582, allocations: 91.36 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.6582, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005712/0.6588, allocations: 205.4 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.6589, allocations: 55.41 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.659, allocations: 133.7 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.659, allocations: 29.7 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.6591, allocations: 100.1 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.6591, allocations: 27.72 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.6592, allocations: 17.72 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6593, allocations: 326.8 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.524e-05/0.6594, allocations: 27.98 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.6595, allocations: 68.27 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.6597, allocations: 108.2 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6597, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002901/0.66, allocations: 133.4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.66, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6601, allocations: 4 kB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6601, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.6602, allocations: 20.08 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.6602, allocations: 3.938 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.304e-05/0.6603, allocations: 19.92 kB / 1.029 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.6603, allocations: 4 kB / 1.029 GB, free: 10.38 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 0.000101/0.6604, allocations: 118.3 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.6605, allocations: 11.91 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.6605, allocations: 12.36 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6605, allocations: 4 kB / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6605, allocations: 0 / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.6605, allocations: 0 / 1.029 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/0.6611, allocations: 442.2 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.6611, allocations: 0 / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-05/0.6612, allocations: 11.98 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.6612, allocations: 0 / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.6612, allocations: 11.94 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6612, allocations: 0 / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6612, allocations: 7.922 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.6616, allocations: 251.3 kB / 1.03 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.6617, allocations: 81.11 kB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.6617, allocations: 4.062 kB / 1.03 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.6619, allocations: 11.98 kB / 1.03 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.6619, allocations: 7.922 kB / 1.03 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.6619, allocations: 8 kB / 1.03 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.704e-05/0.662, allocations: 95.27 kB / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.662, allocations: 0 / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003251/0.6623, allocations: 51.89 kB / 1.03 GB, free: 9.168 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.0003946/0.6627, allocations: 161.3 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003221/0.6631, allocations: 91.89 kB / 1.03 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6631, allocations: 4 kB / 1.03 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.6632, allocations: 55.91 kB / 1.03 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.6635, allocations: 15.61 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005004/0.664, allocations: 255.5 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.6643, allocations: 0.6965 MB / 1.031 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.6643, allocations: 11.44 kB / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6643, allocations: 0 / 1.031 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of Templates: time 0.003907/0.6683, allocations: 1.782 MB / 1.033 GB, free: 6.055 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches