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.009176/0.009176, allocations: 104.1 kB / 15.73 MB, free: 6.051 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.002381/0.002382, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.304/2.304, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.051/1.052, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002934/1.055, allocations: 1.501 MB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001622/1.057, allocations: 0.7285 MB / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/1.057, allocations: 0 / 1.09 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.93e-05/1.057, allocations: 6.406 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/1.057, allocations: 14.56 kB / 1.09 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/1.058, allocations: 121 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/1.058, allocations: 80.27 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/1.058, allocations: 16.03 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/1.058, allocations: 34.45 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.64e-05/1.058, allocations: 37.39 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/1.058, allocations: 7.344 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/1.058, allocations: 97.23 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.546e-05/1.058, allocations: 15.33 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/1.059, allocations: 31.92 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003225/1.059, allocations: 142.2 kB / 1.091 GB, free: 3.707 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/1.059, allocations: 4 kB / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.884e-06/1.059, allocations: 0 / 1.091 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.334e-05/1.059, allocations: 2.266 kB / 1.091 GB, free: 3.703 MB / 0.8575 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.0006723/1.06, allocations: 419.8 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/1.06, allocations: 8.938 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.731e-05/1.06, allocations: 12.73 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/1.06, allocations: 173.5 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/1.06, allocations: 3.375 kB / 1.091 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.277e-05/1.06, allocations: 8.984 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/1.06, allocations: 72.17 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.06, allocations: 0 / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/1.06, allocations: 0.7812 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-06/1.06, allocations: 1.594 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/1.06, allocations: 35.39 kB / 1.091 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/1.061, allocations: 323.4 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/1.061, allocations: 49.55 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/1.061, allocations: 31.91 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/1.061, allocations: 1.438 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/1.061, allocations: 81.45 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/1.061, allocations: 0 / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004092/1.062, allocations: 137.3 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/1.062, allocations: 54.36 kB / 1.092 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.848e-05/1.062, allocations: 119 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/1.062, allocations: 30.58 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.786e-05/1.062, allocations: 92.75 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/1.062, allocations: 19.52 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.724e-05/1.062, allocations: 29.59 kB / 1.092 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/1.062, allocations: 319 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/1.062, allocations: 31.58 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/1.062, allocations: 46.62 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/1.062, allocations: 83.73 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.063, allocations: 1.469 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/1.063, allocations: 111.7 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.063, allocations: 6.984 kB / 1.093 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.063, allocations: 3.984 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.063, allocations: 1.969 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/1.063, allocations: 16.19 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/1.063, allocations: 1 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/1.063, allocations: 12.45 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/1.063, allocations: 8.484 kB / 1.093 GB, free: 1.715 MB / 0.8575 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 7.183e-05/1.063, allocations: 123 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/1.063, allocations: 7.391 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/1.063, allocations: 16.14 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.063, allocations: 0.8125 kB / 1.093 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.063, allocations: 4 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.063, allocations: 1.625 kB / 1.093 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/1.064, allocations: 377.5 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.064, allocations: 1.422 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.099e-05/1.064, allocations: 4.969 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.064, allocations: 1 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.064, allocations: 1.531 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.064, allocations: 1.844 kB / 1.093 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.064, allocations: 3.938 kB / 1.093 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/1.064, allocations: 211.7 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/1.064, allocations: 79.28 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/1.064, allocations: 5.969 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.83e-05/1.064, allocations: 4.531 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/1.064, allocations: 12.25 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.064, allocations: 7.781 kB / 1.094 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.9e-05/1.064, allocations: 95.5 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/1.064, allocations: 0.6562 kB / 1.094 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003278/1.065, allocations: 45.91 kB / 1.094 GB, free: 0.8594 MB / 0.8575 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.0003545/1.065, allocations: 158.3 kB / 1.094 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002743/1.065, allocations: 79.95 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.065, allocations: 0 / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/1.065, allocations: 33.73 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/1.066, allocations: 13.58 kB / 1.094 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/1.066, allocations: 177.5 kB / 1.094 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/1.066, allocations: 0.6946 MB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.322e-05/1.066, allocations: 13.17 kB / 1.095 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/1.066, allocations: 11.22 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.066, allocations: 0 / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of Templates: time 0.004912/1.071, allocations: 1.447 MB / 1.096 GB, free: 15.7 MB / 0.8731 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