Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 112.5 kB / 15.73 MB, free: 76 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.002679/0.002679, allocations: 191.3 kB / 16.66 MB, free: 6.582 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 469.8 MB / 0.7425 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 67.88 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.342, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002762/0.3447, allocations: 1.509 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3461, allocations: 0.7284 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.3462, allocations: 0 / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.781e-05/0.3462, allocations: 19.86 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.092e-05/0.3462, allocations: 3.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3468, allocations: 119.6 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.347, allocations: 79.72 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3471, allocations: 15.92 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.309e-05/0.3472, allocations: 31.92 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.668e-05/0.3472, allocations: 47.81 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3473, allocations: 4 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.3474, allocations: 95.84 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.3475, allocations: 19.92 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3475, allocations: 31.86 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.3478, allocations: 139.5 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3478, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3478, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3478, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008164/0.3486, allocations: 416.7 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3486, allocations: 15.95 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.3487, allocations: 12.89 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3488, allocations: 176.3 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.3489, allocations: 8.375 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3489, allocations: 8.312 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3491, allocations: 65.97 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3491, allocations: 0 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.3491, allocations: 8 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.3491, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.3492, allocations: 39.91 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.3499, allocations: 324.6 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.35, allocations: 42.56 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.3501, allocations: 24.97 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3501, allocations: 4 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.3503, allocations: 87.38 kB / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3503, allocations: 0 / 1.225 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003816/0.3507, allocations: 137.6 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.3508, allocations: 55.41 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.742e-05/0.3509, allocations: 125.8 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3509, allocations: 33.7 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.3509, allocations: 84.14 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.351, allocations: 19.89 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.351, allocations: 25.72 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3511, allocations: 322.8 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.3512, allocations: 23.98 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3513, allocations: 62.86 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3515, allocations: 70.53 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.3515, allocations: 0 / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.3517, allocations: 109.6 kB / 1.226 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.3517, allocations: 8 kB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3517, allocations: 4.062 kB / 1.226 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3517, allocations: 3.984 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.3518, allocations: 15.94 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3518, allocations: 4 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.3519, allocations: 19.86 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.3519, allocations: 0 / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.931e-05/0.352, allocations: 123.4 kB / 1.226 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.352, allocations: 3.953 kB / 1.226 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.3521, allocations: 16.38 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3521, allocations: 3.984 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3521, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3521, allocations: 0 / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005127/0.3526, allocations: 382.4 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.3526, allocations: 4 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.669e-05/0.3526, allocations: 0 / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3526, allocations: 4 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3527, allocations: 11.94 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3527, allocations: 0 / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3527, allocations: 7.922 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.3529, allocations: 203.5 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.353, allocations: 81.06 kB / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.353, allocations: 0 / 1.226 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.244e-05/0.3531, allocations: 11.98 kB / 1.226 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.3531, allocations: 11.94 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3531, allocations: 3.984 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.357e-05/0.3532, allocations: 91.28 kB / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3532, allocations: 0 / 1.227 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003165/0.3535, allocations: 43.86 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000446/0.354, allocations: 162.6 kB / 1.227 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002345/0.3542, allocations: 67.89 kB / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3542, allocations: 0 / 1.227 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.3543, allocations: 31.98 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3546, allocations: 9.969 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.355, allocations: 204.2 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3552, allocations: 0.6885 MB / 1.228 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.3553, allocations: 4 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.3553, allocations: 11.44 kB / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3553, allocations: 0 / 1.228 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of Templates: time 0.004301/0.3596, allocations: 1.468 MB / 1.229 GB, free: 4.68 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0