Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, 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.001834/0.001834, allocations: 198 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 61.77 kB / 0.8984 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3505, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.00263/0.3532, allocations: 1.556 MB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.3544, allocations: 0.7516 MB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.3544, allocations: 0 / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.02e-05/0.3545, allocations: 3.984 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.3546, allocations: 11.86 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.355, allocations: 95.78 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.3552, allocations: 75.81 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.3553, allocations: 8 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.853e-05/0.3553, allocations: 35.86 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.3554, allocations: 39.88 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3554, allocations: 4 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.3556, allocations: 91.84 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.3557, allocations: 11.92 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.3557, allocations: 27.86 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.356, allocations: 147.9 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.356, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.91e-07/0.356, allocations: 0 / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.356, allocations: 0 / 1.055 GB, free: 6.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006262/0.3566, allocations: 417 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3567, allocations: 8.031 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3567, allocations: 8.844 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3568, allocations: 176.2 kB / 1.055 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.3569, allocations: 4.375 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3569, allocations: 12.3 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3571, allocations: 73.95 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3571, allocations: 4 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3571, allocations: 4 kB / 1.056 GB, free: 5.219 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3572, allocations: 4 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3573, allocations: 35.97 kB / 1.056 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000633/0.3579, allocations: 316.7 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3581, allocations: 50.5 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.37e-05/0.3582, allocations: 32.97 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3582, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.3584, allocations: 75.38 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/0.3584, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004297/0.3588, allocations: 145.5 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3589, allocations: 59.39 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/0.359, allocations: 117.8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.359, allocations: 29.7 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.3591, allocations: 92.12 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.3591, allocations: 19.81 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3592, allocations: 25.7 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.3593, allocations: 326.8 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.869e-05/0.3594, allocations: 31.97 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.3595, allocations: 47.42 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.3597, allocations: 83.34 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3597, allocations: 0 / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002609/0.36, allocations: 117.4 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.36, allocations: 5.875 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.36, allocations: 7.938 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.36, allocations: 0 / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.3601, allocations: 11.98 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.006e-06/0.3601, allocations: 4 kB / 1.057 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.3602, allocations: 19.95 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3602, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.992e-05/0.3603, allocations: 127.2 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.3604, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.3604, allocations: 12.38 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3604, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3604, allocations: 4.062 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3604, allocations: 3.984 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.3609, allocations: 378.3 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3609, allocations: 7.984 kB / 1.058 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.923e-05/0.361, allocations: 3.938 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.361, allocations: 4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.361, allocations: 4 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.361, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.361, allocations: 3.938 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.3613, allocations: 215.4 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.3614, allocations: 77.11 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3614, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.3615, allocations: 7.984 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.3616, allocations: 15.88 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3616, allocations: 3.984 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.3616, allocations: 91.94 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3616, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003099/0.3619, allocations: 43.98 kB / 1.058 GB, free: 2.355 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,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.0003315/0.3623, allocations: 160.7 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.3626, allocations: 72.36 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3626, allocations: 4.125 kB / 1.058 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/0.3627, allocations: 31.98 kB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3629, allocations: 9.547 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003941/0.3633, allocations: 202.2 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.3636, allocations: 0.6887 MB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.629e-05/0.3636, allocations: 7.938 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.3637, allocations: 11.44 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3637, allocations: 0 / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of Templates: time 0.003977/0.3676, allocations: 1.383 MB / 1.061 GB, free: 15.75 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0