Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008137/0.008137, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001862/0.001862, allocations: 197.9 kB / 16.68 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.657/2.657, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 63.89 kB / 1.065 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9716/0.9735, allocations: 159.1 MB / 1.221 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002545/0.9761, allocations: 1.511 MB / 1.222 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.9773, allocations: 0.7254 MB / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.9773, allocations: 0 / 1.223 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.9773, allocations: 7.875 kB / 1.223 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.289e-05/0.9774, allocations: 15.84 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005201/0.9779, allocations: 127.6 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.978, allocations: 71.78 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.358e-05/0.9781, allocations: 19.94 kB / 1.223 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.526e-05/0.9782, allocations: 31.91 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.088e-05/0.9783, allocations: 39.78 kB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.9783, allocations: 8 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.9785, allocations: 95.84 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.876e-05/0.9785, allocations: 23.91 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.9786, allocations: 31.84 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.9788, allocations: 140.1 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.9788, allocations: 0 / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.437e-06/0.9788, allocations: 4 kB / 1.223 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9788, allocations: 0 / 1.223 GB, free: 15.22 MB / 0.9512 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.0006175/0.9794, allocations: 416.7 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.9794, allocations: 12.62 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.9795, allocations: 8.891 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.9796, allocations: 176.3 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.9796, allocations: 4.375 kB / 1.224 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.9797, allocations: 8.375 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.9798, allocations: 73.91 kB / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.9799, allocations: 0 / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.9799, allocations: 0 / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.9799, allocations: 0 / 1.224 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.98, allocations: 35.97 kB / 1.224 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.9806, allocations: 328.6 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.9807, allocations: 46.55 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.9808, allocations: 28.97 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.9808, allocations: 0 / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.9809, allocations: 79.38 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9809, allocations: 0 / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003711/0.9813, allocations: 141.6 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.9813, allocations: 55.41 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.583e-05/0.9814, allocations: 125.8 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.9815, allocations: 29.7 kB / 1.225 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.9815, allocations: 88.14 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.9815, allocations: 15.91 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.9816, allocations: 25.7 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.9818, allocations: 326.8 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.9818, allocations: 23.98 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.627e-05/0.9819, allocations: 50.55 kB / 1.225 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.9821, allocations: 74.5 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.9821, allocations: 0 / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002266/0.9823, allocations: 113.5 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.9823, allocations: 4 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.9823, allocations: 3.938 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.9823, allocations: 7.938 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/0.9824, allocations: 19.98 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.9824, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.9825, allocations: 7.938 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.9825, allocations: 7.984 kB / 1.226 GB, free: 12.68 MB / 0.9512 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.406e-05/0.9826, allocations: 118.3 kB / 1.226 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.9826, allocations: 7.953 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.9827, allocations: 8.375 kB / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9827, allocations: 0 / 1.226 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9827, allocations: 11.98 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9827, allocations: 0 / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.9831, allocations: 386.8 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.9831, allocations: 0 / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.9832, allocations: 11.98 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9832, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.9832, allocations: 0 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9832, allocations: 80 / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9832, allocations: 7.922 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.9834, allocations: 219.4 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.9835, allocations: 81.06 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.9835, allocations: 4 kB / 1.226 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.884e-05/0.9836, allocations: 3.984 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.9836, allocations: 7.938 kB / 1.226 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.9836, allocations: 4 kB / 1.226 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.9837, allocations: 99.27 kB / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9837, allocations: 0 / 1.227 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000283/0.984, allocations: 35.92 kB / 1.227 GB, free: 11.59 MB / 0.9512 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.0002959/0.9843, allocations: 166.2 kB / 1.227 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000225/0.9845, allocations: 71.91 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.9845, allocations: 0 / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.9846, allocations: 31.97 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.9848, allocations: 8 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003657/0.9852, allocations: 180.2 kB / 1.227 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.9854, allocations: 0.6924 MB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.488e-05/0.9855, allocations: 7.984 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.9855, allocations: 15.44 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.9855, allocations: 0 / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.003876/0.9894, allocations: 1.457 MB / 1.229 GB, free: 8.926 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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