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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001311/0.001311, allocations: 100.1 kB / 15.88 MB, free: 12 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.001342/0.001342, allocations: 200.4 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.618/2.618, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.94 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3306, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.00275/0.3334, allocations: 1.655 MB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3348, allocations: 0.7907 MB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.3348, allocations: 0 / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.3349, allocations: 3.938 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.371e-05/0.335, allocations: 23.84 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005147/0.3355, allocations: 119.7 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3357, allocations: 127.6 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3358, allocations: 19.97 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.3359, allocations: 55.78 kB / 1.055 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.336, allocations: 67.78 kB / 1.056 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.469e-05/0.336, allocations: 8 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.3362, allocations: 87.91 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.698e-05/0.3363, allocations: 27.89 kB / 1.056 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.3364, allocations: 59.64 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.3366, allocations: 136 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3366, allocations: 0 / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3366, allocations: 0 / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3366, allocations: 4 kB / 1.056 GB, free: 5.133 MB / 0.8106 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.0007483/0.3373, allocations: 490.4 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3374, allocations: 11.97 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.3374, allocations: 8.844 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.3376, allocations: 180.7 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3376, allocations: 4.375 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3376, allocations: 12.12 kB / 1.057 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.3379, allocations: 97.61 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3379, allocations: 3.938 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.3379, allocations: 4 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3379, allocations: 0 / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001962/0.3381, allocations: 63.89 kB / 1.057 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.339, allocations: 380.6 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3392, allocations: 66.55 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3393, allocations: 52.83 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.961e-05/0.3393, allocations: 3.938 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.3396, allocations: 99.36 kB / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.794e-06/0.3396, allocations: 0 / 1.057 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005575/0.3401, allocations: 209.4 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3402, allocations: 59.39 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3403, allocations: 152.4 kB / 1.058 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3403, allocations: 33.64 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.3404, allocations: 100.4 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.3404, allocations: 27.8 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-05/0.3405, allocations: 29.7 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.3406, allocations: 322.8 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.3407, allocations: 39.97 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3409, allocations: 83.2 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.3411, allocations: 112.2 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3411, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003261/0.3414, allocations: 157.5 kB / 1.059 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3415, allocations: 4 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3415, allocations: 0 / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3415, allocations: 4 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3416, allocations: 23.91 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3417, allocations: 7.938 kB / 1.059 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.3418, allocations: 12.38 kB / 1.059 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3418, allocations: 11.98 kB / 1.059 GB, free: 2.055 MB / 0.8106 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 9.341e-05/0.3419, allocations: 121.8 kB / 1.059 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.3419, allocations: 7.906 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.342, allocations: 16.66 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.342, allocations: 0 / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.342, allocations: 3.938 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.342, allocations: 3.984 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.3426, allocations: 458.4 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3426, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.3427, allocations: 7.984 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.3427, allocations: 7.938 kB / 1.059 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.3427, allocations: 7.984 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3427, allocations: 0 / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3427, allocations: 0 / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3431, allocations: 267.2 kB / 1.059 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.3432, allocations: 92.95 kB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.3432, allocations: 3.984 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.3433, allocations: 4 kB / 1.06 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.3434, allocations: 7.984 kB / 1.06 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3434, allocations: 7.984 kB / 1.06 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.248e-05/0.3435, allocations: 117.1 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3435, allocations: 0 / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003133/0.3438, allocations: 43.98 kB / 1.06 GB, free: 0.8008 MB / 0.8106 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.0003308/0.3441, allocations: 170.4 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003208/0.3445, allocations: 111.9 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3445, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.3446, allocations: 59.91 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.3449, allocations: 7.938 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.3454, allocations: 280.2 kB / 1.06 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3457, allocations: 0.7004 MB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.424e-05/0.3457, allocations: 11.44 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3457, allocations: 0 / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.003794/0.3495, allocations: 2.042 MB / 1.063 GB, free: 13.38 MB / 0.8262 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/jenkins1/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