Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001428/0.001428, allocations: 108 kB / 15.6 MB, free: 132 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.001657/0.001657, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.408/1.408, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.34 kB / 0.9121 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3477, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003085/0.3509, allocations: 1.585 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3523, allocations: 0.7868 MB / 1.071 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.3524, allocations: 3.938 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/0.3525, allocations: 7.875 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.545e-05/0.3526, allocations: 23.78 kB / 1.071 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.3532, allocations: 143.6 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.3534, allocations: 143.6 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3536, allocations: 15.98 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3537, allocations: 67.81 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.3538, allocations: 67.73 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3538, allocations: 12 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.3541, allocations: 99.91 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.3542, allocations: 35.89 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.3543, allocations: 55.72 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.3546, allocations: 191.7 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3546, allocations: 3.938 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3546, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3546, allocations: 4 kB / 1.071 GB, free: 7.176 MB / 0.8262 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.0007407/0.3554, allocations: 478.4 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3554, allocations: 8.031 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.3555, allocations: 12.84 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.3556, allocations: 185.2 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3557, allocations: 12.36 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3557, allocations: 8.125 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000252/0.3559, allocations: 93.56 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.356, allocations: 0 / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.356, allocations: 8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.356, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.3562, allocations: 67.89 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.3571, allocations: 372.6 kB / 1.073 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.3573, allocations: 70.55 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3574, allocations: 52.83 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3575, allocations: 0 / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/0.3577, allocations: 103.3 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.3578, allocations: 0 / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005651/0.3583, allocations: 217.4 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3584, allocations: 59.39 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3585, allocations: 145.3 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3585, allocations: 29.7 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.3586, allocations: 100.3 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.3586, allocations: 19.75 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3587, allocations: 29.7 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.3588, allocations: 326.8 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.359, allocations: 43.97 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.3591, allocations: 72.2 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.3593, allocations: 112.2 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3594, allocations: 4 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003471/0.3597, allocations: 153.5 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3597, allocations: 12.08 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.3598, allocations: 4.109 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.3598, allocations: 3.938 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3599, allocations: 19.92 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3599, allocations: 7.938 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3601, allocations: 7.906 kB / 1.074 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.3601, allocations: 11.98 kB / 1.074 GB, free: 4.117 MB / 0.8262 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 0.0001053/0.3602, allocations: 133.1 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.3602, allocations: 7.906 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.3603, allocations: 12.72 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.3603, allocations: 48 / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.3603, allocations: 11.91 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3603, allocations: 0 / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005954/0.3609, allocations: 466.4 kB / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3609, allocations: 0 / 1.075 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.197e-05/0.361, allocations: 8 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.361, allocations: 7.938 kB / 1.075 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.361, allocations: 7.984 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.361, allocations: 480 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.361, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004225/0.3615, allocations: 267.3 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.3615, allocations: 96.94 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.3615, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.3617, allocations: 4 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.3617, allocations: 11.98 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3618, allocations: 7.984 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.669e-05/0.3618, allocations: 103.3 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3618, allocations: 0 / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003398/0.3622, allocations: 43.98 kB / 1.075 GB, free: 2.852 MB / 0.8262 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.0003645/0.3625, allocations: 171.4 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.3629, allocations: 115.8 kB / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3629, allocations: 0 / 1.076 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.3631, allocations: 68.12 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.3634, allocations: 18.55 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.3639, allocations: 228.4 kB / 1.076 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.3641, allocations: 0.6963 MB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.295e-05/0.3642, allocations: 4 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3642, allocations: 15.44 kB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3642, allocations: 0 / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of Templates: time 0.00499/0.3692, allocations: 1.965 MB / 1.078 GB, free: 15.55 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches