Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 113.5 kB / 16.42 MB, free: 6.465 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.001648/0.001648, allocations: 190.7 kB / 17.35 MB, free: 5.715 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 / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.564/2.564, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 63.91 kB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7043/0.7056, allocations: 159.1 MB / 1.221 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003052/0.7087, allocations: 1.499 MB / 1.222 GB, free: 0.8008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.7102, allocations: 0.7254 MB / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.7103, allocations: 0 / 1.223 GB, free: 72 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.7103, allocations: 3.938 kB / 1.223 GB, free: 68 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.7104, allocations: 15.84 kB / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.711, allocations: 123.6 kB / 1.223 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.7112, allocations: 79.77 kB / 1.223 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.7113, allocations: 15.94 kB / 1.223 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.855e-05/0.7114, allocations: 47.83 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.7114, allocations: 35.84 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.7115, allocations: 8 kB / 1.223 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.7117, allocations: 91.91 kB / 1.223 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.7117, allocations: 7.984 kB / 1.223 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.7118, allocations: 39.78 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.712, allocations: 147.3 kB / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.712, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.333e-06/0.712, allocations: 4 kB / 1.224 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7121, allocations: 0 / 1.224 GB, free: 15.46 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.0006285/0.7127, allocations: 419 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7127, allocations: 8.031 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.156e-05/0.7128, allocations: 8.844 kB / 1.224 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.7129, allocations: 176.2 kB / 1.224 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.713, allocations: 8.375 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.713, allocations: 4.375 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.7132, allocations: 77.91 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.7132, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.7132, allocations: 0 / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.7133, allocations: 4 kB / 1.224 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.7134, allocations: 35.97 kB / 1.224 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/0.7141, allocations: 324.6 kB / 1.225 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.7142, allocations: 50.5 kB / 1.225 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.473e-05/0.7143, allocations: 28.97 kB / 1.225 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.7143, allocations: 3.984 kB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.7146, allocations: 71.39 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.7146, allocations: 4 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003869/0.715, allocations: 141.6 kB / 1.225 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.715, allocations: 59.41 kB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.7151, allocations: 121.8 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.7151, allocations: 29.7 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.7152, allocations: 92.12 kB / 1.225 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.7152, allocations: 15.81 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.7153, allocations: 33.7 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.7154, allocations: 318.8 kB / 1.226 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.7155, allocations: 27.98 kB / 1.226 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.419e-05/0.7156, allocations: 42.56 kB / 1.226 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.7157, allocations: 78.8 kB / 1.226 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7158, allocations: 3.938 kB / 1.226 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002422/0.716, allocations: 117.5 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.716, allocations: 6.188 kB / 1.226 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.716, allocations: 4 kB / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.7161, allocations: 0 / 1.226 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.504e-05/0.7162, allocations: 11.98 kB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7162, allocations: 0 / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.846e-05/0.7162, allocations: 12 kB / 1.226 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.7163, allocations: 4 kB / 1.226 GB, free: 12.93 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 8.943e-05/0.7164, allocations: 130.2 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7164, allocations: 7.906 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.7164, allocations: 8.375 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7164, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7164, allocations: 0 / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.7165, allocations: 88.95 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.7165, allocations: 15.98 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/0.7166, allocations: 3.938 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.7166, allocations: 7.984 kB / 1.226 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002803/0.7169, allocations: 184.9 kB / 1.226 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002909/0.7172, allocations: 286.6 kB / 1.227 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.982e-05/0.7173, allocations: 31.98 kB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.7174, allocations: 95.27 kB / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of Backend: time 2.8e-07/0.7174, allocations: 0 / 1.227 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006411/0.718, allocations: 197.1 kB / 1.227 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004604/0.7185, allocations: 0.6099 MB / 1.227 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.004036/0.7225, allocations: 1.496 MB / 1.229 GB, free: 9.699 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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