Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002197/0.002198, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.417/2.417, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6772/0.6787, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002427/0.6811, allocations: 1.555 MB / 0.9506 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.6822, allocations: 0.7182 MB / 0.9513 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.6822, allocations: 3.938 kB / 0.9513 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.6822, allocations: 5.234 kB / 0.9513 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.704e-05/0.6823, allocations: 9.078 kB / 0.9513 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.6827, allocations: 114 kB / 0.9514 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.007e-05/0.6828, allocations: 74.91 kB / 0.9515 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.126e-05/0.6829, allocations: 21.69 kB / 0.9515 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.683, allocations: 33.47 kB / 0.9516 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.204e-05/0.683, allocations: 40.33 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.6831, allocations: 5.656 kB / 0.9516 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.6832, allocations: 98 kB / 0.9517 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.6833, allocations: 14.67 kB / 0.9517 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.6833, allocations: 40.38 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.6835, allocations: 137 kB / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.6835, allocations: 0 / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.82e-07/0.6835, allocations: 0 / 0.9519 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.6835, allocations: 0 / 0.9519 GB, free: 6.961 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.0005272/0.684, allocations: 424.2 kB / 0.9523 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.6841, allocations: 13.61 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.6841, allocations: 5.062 kB / 0.9523 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.6842, allocations: 171.6 kB / 0.9525 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.6843, allocations: 6.688 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.6843, allocations: 8.719 kB / 0.9525 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.6845, allocations: 67.62 kB / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.6845, allocations: 1.25 kB / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6845, allocations: 0 / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.6845, allocations: 1.125 kB / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.6846, allocations: 36.88 kB / 0.9526 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.6851, allocations: 330 kB / 0.9529 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6852, allocations: 52.2 kB / 0.953 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.893e-05/0.6853, allocations: 31.41 kB / 0.953 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.578e-05/0.6853, allocations: 5.531 kB / 0.953 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.6855, allocations: 76.81 kB / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.6855, allocations: 0 / 0.9531 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003253/0.6858, allocations: 140.9 kB / 0.9532 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.6859, allocations: 56.72 kB / 0.9533 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.6859, allocations: 122.3 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.6859, allocations: 29.7 kB / 0.9534 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.686, allocations: 86.45 kB / 0.9535 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.502e-05/0.686, allocations: 18.7 kB / 0.9535 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.686, allocations: 30.12 kB / 0.9535 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.6861, allocations: 325.4 kB / 0.9538 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.6862, allocations: 26.61 kB / 0.9539 GB, free: 5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.6862, allocations: 51.67 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.6864, allocations: 74.27 kB / 0.954 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.6864, allocations: 0 / 0.954 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001928/0.6866, allocations: 109.5 kB / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.6866, allocations: 4.406 kB / 0.9541 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.6866, allocations: 5.953 kB / 0.9541 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.6866, allocations: 5.703 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.6867, allocations: 8.625 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.6867, allocations: 1.375 kB / 0.9541 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.6868, allocations: 14.7 kB / 0.9541 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.6868, allocations: 3.844 kB / 0.9541 GB, free: 4.82 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 5.528e-05/0.6869, allocations: 122.2 kB / 0.9542 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.6869, allocations: 7.5 kB / 0.9543 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.6869, allocations: 13.44 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.6869, allocations: 9.469 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6869, allocations: 0 / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6869, allocations: 1.375 kB / 0.9543 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003158/0.6872, allocations: 385.5 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6873, allocations: 1.375 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.6873, allocations: 3.031 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.6873, allocations: 1.469 kB / 0.9546 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6873, allocations: 8 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6873, allocations: 1.344 kB / 0.9547 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6873, allocations: 7.922 kB / 0.9547 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.6875, allocations: 201.5 kB / 0.9549 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.709e-05/0.6876, allocations: 86.39 kB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.6876, allocations: 1.25 kB / 0.9549 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.6877, allocations: 19.7 kB / 0.955 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.6877, allocations: 6.812 kB / 0.955 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.6877, allocations: 5.203 kB / 0.955 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.068e-05/0.6878, allocations: 93.28 kB / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6878, allocations: 0 / 0.9551 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000266/0.688, allocations: 39.92 kB / 0.9551 GB, free: 3.898 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.0002501/0.6883, allocations: 166.1 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002018/0.6885, allocations: 70.83 kB / 0.9553 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6885, allocations: 4 kB / 0.9553 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/0.6886, allocations: 32.55 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.6888, allocations: 2.938 kB / 0.9554 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.6891, allocations: 202 kB / 0.9556 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.6892, allocations: 0.691 MB / 0.9562 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.6893, allocations: 3.781 kB / 0.9562 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.6893, allocations: 11.03 kB / 0.9562 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6893, allocations: 4 kB / 0.9562 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.003242/0.6926, allocations: 1.412 MB / 0.9576 GB, free: 2.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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