Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Zhang2012WindowsAll,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.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_latest_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.001092/0.001092, 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.001097/0.001097, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.402/1.402, 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.728/2.728, allocations: 461.9 MB / 0.7342 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 63.41 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3974, allocations: 157.4 MB / 1.052 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002827/0.4002, allocations: 1.56 MB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001338/0.4016, allocations: 0.7477 MB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4017, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.4017, allocations: 0 / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.4018, allocations: 19.8 kB / 1.054 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.4023, allocations: 99.83 kB / 1.054 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.4024, allocations: 71.77 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.501e-05/0.4025, allocations: 8 kB / 1.055 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.4026, allocations: 35.89 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.4027, allocations: 35.84 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.4027, allocations: 8 kB / 1.055 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.4029, allocations: 87.84 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.678e-05/0.403, allocations: 15.92 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.175e-05/0.403, allocations: 31.84 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.4033, allocations: 139.9 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4033, allocations: 4 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.71e-07/0.4033, allocations: 0 / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.4033, allocations: 0 / 1.055 GB, free: 6 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.0006673/0.404, allocations: 409 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.404, allocations: 16.03 kB / 1.055 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.4041, allocations: 8.844 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4042, allocations: 176.2 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.4042, allocations: 4.375 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.4043, allocations: 4.375 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.4045, allocations: 69.97 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.4045, allocations: 3.984 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4045, allocations: 4 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.4045, allocations: 0 / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.4046, allocations: 35.98 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.4053, allocations: 320.7 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.4054, allocations: 46.56 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.4055, allocations: 40.91 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.4055, allocations: 0 / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002643/0.4058, allocations: 75.38 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4058, allocations: 0 / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004022/0.4062, allocations: 137.6 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.4063, allocations: 67.38 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.4064, allocations: 117.8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.4064, allocations: 29.7 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.4065, allocations: 92.12 kB / 1.056 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.4065, allocations: 15.75 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.4066, allocations: 29.64 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.4067, allocations: 322.8 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.4068, allocations: 31.97 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.4069, allocations: 46.56 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.4071, allocations: 78.78 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4071, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.4073, allocations: 117.5 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4074, allocations: 5.562 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4074, allocations: 3.984 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4074, allocations: 4 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.4075, allocations: 11.98 kB / 1.057 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.4075, allocations: 3.938 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.4076, allocations: 11.91 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.4076, allocations: 4 kB / 1.057 GB, free: 3.457 MB / 0.8106 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.411e-05/0.4077, allocations: 121.8 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.4077, allocations: 11.94 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.736e-05/0.4078, allocations: 8.359 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.4078, allocations: 4 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4078, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.4078, allocations: 0 / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.4083, allocations: 390.2 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4083, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.4083, allocations: 4 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4083, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4083, allocations: 3.984 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4083, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4084, allocations: 7.938 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.4086, allocations: 207.4 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.4087, allocations: 85.11 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.4087, allocations: 3.984 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.4088, allocations: 7.938 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.4089, allocations: 7.922 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4089, allocations: 4 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.4089, allocations: 95.27 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4089, allocations: 0 / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002979/0.4092, allocations: 32 kB / 1.058 GB, free: 2.379 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,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.0003704/0.4096, allocations: 164.3 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4099, allocations: 75.89 kB / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4099, allocations: 0 / 1.058 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.842e-05/0.41, allocations: 32.38 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.4103, allocations: 17.08 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.4107, allocations: 194.1 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.411, allocations: 0.6887 MB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.4111, allocations: 15.97 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.4111, allocations: 11.44 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.4111, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of Templates: time 0.004189/0.4153, allocations: 1.375 MB / 1.061 GB, free: 15.77 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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