Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_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_latest_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.00106/0.001061, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.008437/0.008437, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 483.1 MB / 0.7564 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 12.06 kB / 0.9275 GB, free: 29.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3513, allocations: 164.5 MB / 1.088 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.001913/0.3533, allocations: 1.22 MB / 1.089 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.3547, allocations: 0.7131 MB / 1.09 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.3547, allocations: 0 / 1.09 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.3548, allocations: 3.938 kB / 1.09 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.3548, allocations: 11.88 kB / 1.09 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004926/0.3553, allocations: 107.8 kB / 1.09 GB, free: 8.352 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.3555, allocations: 63.84 kB / 1.09 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.3556, allocations: 19.97 kB / 1.09 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.715e-05/0.3557, allocations: 31.84 kB / 1.09 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.3558, allocations: 39.83 kB / 1.09 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3558, allocations: 4 kB / 1.09 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.356, allocations: 83.91 kB / 1.09 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.356, allocations: 15.92 kB / 1.09 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.3561, allocations: 53.56 kB / 1.09 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.3563, allocations: 143.8 kB / 1.091 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3563, allocations: 4 kB / 1.091 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3563, allocations: 0 / 1.091 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3563, allocations: 0 / 1.091 GB, free: 7.895 MB / 0.8419 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.0006688/0.357, allocations: 405 kB / 1.091 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3571, allocations: 11.97 kB / 1.091 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.3571, allocations: 8.844 kB / 1.091 GB, free: 7.426 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.3573, allocations: 180.2 kB / 1.091 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.3573, allocations: 8.375 kB / 1.091 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.3574, allocations: 8.375 kB / 1.091 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3576, allocations: 73.91 kB / 1.091 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3576, allocations: 0 / 1.091 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3576, allocations: 7.922 kB / 1.091 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3576, allocations: 0 / 1.091 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.3578, allocations: 47.98 kB / 1.091 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.3585, allocations: 316.8 kB / 1.092 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.3586, allocations: 54.56 kB / 1.092 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3587, allocations: 40.84 kB / 1.092 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3588, allocations: 0 / 1.092 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.359, allocations: 79.45 kB / 1.092 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.359, allocations: 0 / 1.092 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004493/0.3595, allocations: 153.5 kB / 1.092 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.3596, allocations: 59.39 kB / 1.092 GB, free: 6.281 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3597, allocations: 117.8 kB / 1.092 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3597, allocations: 29.7 kB / 1.092 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/0.3598, allocations: 96.12 kB / 1.092 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.3598, allocations: 15.75 kB / 1.092 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.3599, allocations: 17.72 kB / 1.092 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.36, allocations: 326.8 kB / 1.093 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3601, allocations: 27.98 kB / 1.093 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3603, allocations: 54.55 kB / 1.093 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3605, allocations: 74.5 kB / 1.093 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3605, allocations: 0 / 1.093 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002852/0.3608, allocations: 129.8 kB / 1.093 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3608, allocations: 4 kB / 1.093 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3608, allocations: 0 / 1.093 GB, free: 5.348 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3608, allocations: 4 kB / 1.093 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.3609, allocations: 11.98 kB / 1.093 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3609, allocations: 4.062 kB / 1.093 GB, free: 5.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/0.361, allocations: 11.91 kB / 1.093 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.361, allocations: 8.047 kB / 1.093 GB, free: 5.309 MB / 0.8419 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 0.0001229/0.3612, allocations: 125.7 kB / 1.093 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.3612, allocations: 0 / 1.093 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.3612, allocations: 16.31 kB / 1.093 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3612, allocations: 0 / 1.093 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3612, allocations: 0 / 1.093 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3613, allocations: 0 / 1.093 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.3618, allocations: 398.3 kB / 1.093 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3618, allocations: 0 / 1.093 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.3619, allocations: 7.984 kB / 1.093 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3619, allocations: 0 / 1.093 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3619, allocations: 0 / 1.093 GB, free: 4.703 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3619, allocations: 7.938 kB / 1.093 GB, free: 4.695 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3619, allocations: 3.938 kB / 1.093 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.3622, allocations: 223.3 kB / 1.094 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.562e-05/0.3623, allocations: 77.11 kB / 1.094 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3623, allocations: 0 / 1.094 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.3624, allocations: 7.984 kB / 1.094 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.3625, allocations: 7.938 kB / 1.094 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3625, allocations: 8 kB / 1.094 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.65e-05/0.3625, allocations: 91.92 kB / 1.094 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3626, allocations: 0 / 1.094 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003192/0.3629, allocations: 39.98 kB / 1.094 GB, free: 4.211 MB / 0.8419 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.0004019/0.3633, allocations: 162.8 kB / 1.094 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.3636, allocations: 83.89 kB / 1.094 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3636, allocations: 0 / 1.094 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.3637, allocations: 39.92 kB / 1.094 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.364, allocations: 4 kB / 1.094 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.3644, allocations: 217.1 kB / 1.094 GB, free: 3.688 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.3648, allocations: 0.6887 MB / 1.095 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.3648, allocations: 7.938 kB / 1.095 GB, free: 2.965 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.3649, allocations: 15.42 kB / 1.095 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.3649, allocations: 0 / 1.095 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of Templates: time 0.004672/0.3696, allocations: 1.363 MB / 1.096 GB, free: 1.594 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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