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.001148/0.001148, allocations: 91.84 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.001259/0.001259, allocations: 181.5 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.433/1.433, allocations: 223.3 MB / 241 MB, free: 5.281 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.589/2.589, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 8 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6582, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001804/0.6601, allocations: 1.235 MB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.6615, allocations: 0.7326 MB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.6616, allocations: 7.938 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.6616, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-05/0.6617, allocations: 15.86 kB / 1.026 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005475/0.6623, allocations: 115.8 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.6624, allocations: 99.73 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.6625, allocations: 8 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.6626, allocations: 47.84 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.659e-05/0.6627, allocations: 51.75 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.6628, allocations: 4 kB / 1.026 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.663, allocations: 91.91 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.663, allocations: 23.89 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.261e-05/0.6631, allocations: 61.48 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.6633, allocations: 117.8 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.6633, allocations: 3.938 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6633, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.6633, allocations: 4 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.0006432/0.664, allocations: 442.6 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.664, allocations: 12.03 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.6641, allocations: 8.844 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.6642, allocations: 176.2 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.6642, allocations: 4.375 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.6643, allocations: 8.375 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.6645, allocations: 93.88 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.6645, allocations: 4 kB / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.6646, allocations: 0 / 1.027 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6646, allocations: 7.922 kB / 1.027 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.6648, allocations: 51.97 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.6655, allocations: 348.7 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.6657, allocations: 62.58 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.6658, allocations: 48.84 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.6659, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.6661, allocations: 95.34 kB / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.6661, allocations: 0 / 1.028 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.00054/0.6667, allocations: 193.5 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.6667, allocations: 55.55 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.6669, allocations: 133.8 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.6669, allocations: 25.7 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.667, allocations: 107.9 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.667, allocations: 19.75 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.667, allocations: 17.72 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6672, allocations: 322.8 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-05/0.6673, allocations: 31.98 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.6674, allocations: 68.27 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.6677, allocations: 104.1 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6677, allocations: 0 / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002834/0.668, allocations: 137.4 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.668, allocations: 10.02 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.668, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.668, allocations: 4 kB / 1.029 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6682, allocations: 16.09 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.6682, allocations: 7.922 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.066e-05/0.6683, allocations: 12 kB / 1.029 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.6683, allocations: 4 kB / 1.029 GB, free: 10.4 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.0001027/0.6684, allocations: 119.8 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.6684, allocations: 11.89 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.6685, allocations: 8.375 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.6685, allocations: 8 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6685, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6685, allocations: 0 / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.6691, allocations: 442.5 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6691, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.6691, allocations: 11.92 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.6691, allocations: 8 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/0.6692, allocations: 4 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6692, allocations: 0 / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6692, allocations: 3.938 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.6697, allocations: 251.3 kB / 1.03 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.6697, allocations: 81.11 kB / 1.03 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.6698, allocations: 8.047 kB / 1.03 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6699, allocations: 4 kB / 1.03 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.6699, allocations: 11.92 kB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.6699, allocations: 8 kB / 1.03 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.796e-05/0.67, allocations: 94.89 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.67, allocations: 0 / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003165/0.6703, allocations: 47.89 kB / 1.03 GB, free: 9.199 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.0003463/0.6707, allocations: 169.9 kB / 1.03 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.671, allocations: 91.95 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.671, allocations: 0 / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.6711, allocations: 59.89 kB / 1.03 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.6714, allocations: 7.984 kB / 1.03 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.6719, allocations: 258.7 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.6723, allocations: 0.6887 MB / 1.031 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.6723, allocations: 15.42 kB / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.6723, allocations: 0 / 1.031 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of Templates: time 0.003809/0.6762, allocations: 1.776 MB / 1.033 GB, free: 6.09 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