Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00099/0.0009899, allocations: 92.39 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.001284/0.001284, allocations: 180.2 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.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.321/2.321, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003274, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6655/0.6658, allocations: 142.4 MB / 0.9557 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001521/0.6674, allocations: 1.303 MB / 0.957 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.6685, allocations: 0.7708 MB / 0.9577 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.6685, allocations: 1.062 kB / 0.9577 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.242e-05/0.6686, allocations: 3.938 kB / 0.9577 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-05/0.6686, allocations: 14.2 kB / 0.9578 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.6691, allocations: 123.2 kB / 0.9579 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.6693, allocations: 131.3 kB / 0.958 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.567e-05/0.6694, allocations: 28.27 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.6695, allocations: 48.31 kB / 0.9581 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.6696, allocations: 69.41 kB / 0.9581 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.6696, allocations: 6.094 kB / 0.9581 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.6698, allocations: 91.97 kB / 0.9582 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.6698, allocations: 23.66 kB / 0.9582 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.71e-05/0.6699, allocations: 82.06 kB / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.67, allocations: 133.1 kB / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6701, allocations: 0 / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6701, allocations: 1.312 kB / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6701, allocations: 0 / 0.9585 GB, free: 5.637 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005858/0.6707, allocations: 468.2 kB / 0.9589 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6707, allocations: 9.625 kB / 0.9589 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.6708, allocations: 12.97 kB / 0.9589 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.841e-05/0.6708, allocations: 180.8 kB / 0.9591 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.598e-05/0.6709, allocations: 7.125 kB / 0.9591 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.6709, allocations: 9.625 kB / 0.9591 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.6711, allocations: 107.1 kB / 0.9592 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6712, allocations: 9.234 kB / 0.9592 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.6712, allocations: 0 / 0.9592 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.6712, allocations: 13.2 kB / 0.9592 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.6714, allocations: 70.95 kB / 0.9593 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.6722, allocations: 380.9 kB / 0.9597 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.6724, allocations: 74.89 kB / 0.9597 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.6725, allocations: 62.58 kB / 0.9598 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.6726, allocations: 1.156 kB / 0.9598 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.6728, allocations: 103.9 kB / 0.9599 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.6728, allocations: 4 kB / 0.9599 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005612/0.6734, allocations: 228.5 kB / 0.9601 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.6734, allocations: 53.38 kB / 0.9602 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.85e-05/0.6735, allocations: 153.6 kB / 0.9603 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.6735, allocations: 30.73 kB / 0.9603 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.6736, allocations: 92.66 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.6736, allocations: 23.89 kB / 0.9605 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.6736, allocations: 22.38 kB / 0.9605 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.928e-05/0.6737, allocations: 321.6 kB / 0.9608 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.6738, allocations: 50.03 kB / 0.9608 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.674, allocations: 79.89 kB / 0.9609 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.6742, allocations: 123.2 kB / 0.961 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6742, allocations: 0 / 0.961 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000325/0.6745, allocations: 163.8 kB / 0.9612 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6746, allocations: 5.5 kB / 0.9612 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6746, allocations: 9.344 kB / 0.9612 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6746, allocations: 1.375 kB / 0.9612 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.6747, allocations: 19.11 kB / 0.9612 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/0.6748, allocations: 5.688 kB / 0.9612 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.6749, allocations: 25.67 kB / 0.9612 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.6749, allocations: 12.05 kB / 0.9613 GB, free: 3.172 MB / 0.7169 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,win.occ,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 (14): * Single equations (assignments): 14 * 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 7.364e-05/0.675, allocations: 123.3 kB / 0.9614 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.675, allocations: 13.34 kB / 0.9614 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.675, allocations: 11.47 kB / 0.9614 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.675, allocations: 0 / 0.9614 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.675, allocations: 13.3 kB / 0.9614 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.6751, allocations: 0 / 0.9614 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.6756, allocations: 466.5 kB / 0.9619 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.6756, allocations: 0 / 0.9619 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.347e-05/0.6757, allocations: 11.69 kB / 0.9619 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6757, allocations: 5.062 kB / 0.9619 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.6757, allocations: 5.172 kB / 0.9619 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6757, allocations: 0.9375 kB / 0.9619 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6757, allocations: 0 / 0.9619 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.6761, allocations: 275.9 kB / 0.9621 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.6761, allocations: 104.2 kB / 0.9622 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.6762, allocations: 0.7812 kB / 0.9622 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.6763, allocations: 10.44 kB / 0.9623 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.6764, allocations: 7.359 kB / 0.9623 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.6764, allocations: 7.141 kB / 0.9623 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.6764, allocations: 112.2 kB / 0.9624 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6764, allocations: 0 / 0.9624 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003148/0.6768, allocations: 47.45 kB / 0.9624 GB, free: 2.164 MB / 0.7169 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0003285/0.6771, allocations: 160.4 kB / 0.9626 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003347/0.6774, allocations: 119.4 kB / 0.9627 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6775, allocations: 0 / 0.9627 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.6776, allocations: 64.19 kB / 0.9627 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.6779, allocations: 25.06 kB / 0.9628 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.6783, allocations: 284 kB / 0.963 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.6785, allocations: 0.6978 MB / 0.9637 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.095e-05/0.6785, allocations: 16.36 kB / 0.9637 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6785, allocations: 0 / 0.9637 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of Templates: time 0.003915/0.6824, allocations: 2.036 MB / 0.9657 GB, free: 15.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches