Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 195 kB / 16.14 MB, free: 6.648 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6642 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8063, allocations: 140.3 MB / 0.9489 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002369/0.8087, allocations: 1.556 MB / 0.9504 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.8098, allocations: 0.7317 MB / 0.9511 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.8098, allocations: 5.312 kB / 0.9512 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.323e-05/0.8099, allocations: 3.984 kB / 0.9512 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.8099, allocations: 5.344 kB / 0.9512 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.8104, allocations: 105.3 kB / 0.9513 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.8105, allocations: 74.94 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.8106, allocations: 17.06 kB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.8107, allocations: 38 kB / 0.9514 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.466e-05/0.8107, allocations: 34.28 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.8107, allocations: 3.594 kB / 0.9514 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.8109, allocations: 94.81 kB / 0.9515 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.8109, allocations: 18.7 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.811, allocations: 32.02 kB / 0.9516 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.8112, allocations: 130.8 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8112, allocations: 0 / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.8112, allocations: 1.188 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.8112, allocations: 0 / 0.9517 GB, free: 7.09 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005668/0.8118, allocations: 427.6 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.8118, allocations: 9.125 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.8119, allocations: 4.594 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.126e-05/0.812, allocations: 172.2 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.171e-05/0.812, allocations: 2.969 kB / 0.9523 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.812, allocations: 8 kB / 0.9523 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.8122, allocations: 76.45 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8122, allocations: 4 kB / 0.9524 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.8122, allocations: 1.406 kB / 0.9524 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8122, allocations: 0 / 0.9524 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.8124, allocations: 36.81 kB / 0.9524 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.8129, allocations: 318.1 kB / 0.9527 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.813, allocations: 55.92 kB / 0.9528 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.8131, allocations: 32.09 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.8132, allocations: 1.281 kB / 0.9528 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.8133, allocations: 76.81 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.8133, allocations: 1.25 kB / 0.9529 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.000391/0.8137, allocations: 143.7 kB / 0.953 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.8138, allocations: 57.62 kB / 0.953 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.8139, allocations: 120.8 kB / 0.9532 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.8139, allocations: 26.92 kB / 0.9532 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.8139, allocations: 86.36 kB / 0.9533 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.8139, allocations: 15 kB / 0.9533 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.814, allocations: 33.27 kB / 0.9533 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.8141, allocations: 329.6 kB / 0.9536 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.8141, allocations: 26.27 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.099e-05/0.8142, allocations: 48.08 kB / 0.9537 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.8144, allocations: 74.25 kB / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.8144, allocations: 0 / 0.9538 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002167/0.8146, allocations: 121.7 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8146, allocations: 5.5 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8146, allocations: 0 / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.8147, allocations: 6.281 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/0.8147, allocations: 11.67 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.8148, allocations: 1.438 kB / 0.9539 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.8148, allocations: 12.38 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.8149, allocations: 10.89 kB / 0.9539 GB, free: 4.938 MB / 0.7169 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 6.514e-05/0.8149, allocations: 122.2 kB / 0.9541 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.8149, allocations: 7.438 kB / 0.9541 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.441e-05/0.815, allocations: 9.594 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.815, allocations: 1.125 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.815, allocations: 1.062 kB / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.815, allocations: 0 / 0.9541 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.8154, allocations: 383 kB / 0.9544 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8154, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.8154, allocations: 8.328 kB / 0.9544 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.8154, allocations: 0 / 0.9544 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.8154, allocations: 5.5 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8154, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8154, allocations: 7.922 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.8157, allocations: 209.7 kB / 0.9547 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.8157, allocations: 87.23 kB / 0.9547 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.8157, allocations: 1.094 kB / 0.9547 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.8158, allocations: 11.58 kB / 0.9548 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.8159, allocations: 6.188 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.8159, allocations: 1.438 kB / 0.9548 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.8159, allocations: 93.58 kB / 0.9548 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8159, allocations: 3.938 kB / 0.9549 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002813/0.8162, allocations: 44.98 kB / 0.9549 GB, free: 4.027 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: 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.0003185/0.8165, allocations: 164.3 kB / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.8168, allocations: 69.81 kB / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8168, allocations: 128 / 0.9551 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.8169, allocations: 40.38 kB / 0.9552 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.8171, allocations: 7.609 kB / 0.9552 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.8175, allocations: 190.6 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.8176, allocations: 0.6929 MB / 0.956 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.8176, allocations: 7.688 kB / 0.956 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.8177, allocations: 10.69 kB / 0.956 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.8177, allocations: 3.938 kB / 0.956 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of Templates: time 0.003504/0.8212, allocations: 1.373 MB / 0.9574 GB, free: 2.254 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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