Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Zhang2012WindowsAll,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.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_9_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.001112/0.001112, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001206/0.001206, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.154/2.154, allocations: 390.3 MB / 0.6655 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.09 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6436/0.6449, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002113/0.647, allocations: 1.504 MB / 1.09 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.648, allocations: 0.726 MB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.648, allocations: 1.375 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.6481, allocations: 5.156 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.106e-05/0.6481, allocations: 14.23 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.6486, allocations: 125.6 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.924e-05/0.6487, allocations: 73 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.6488, allocations: 15.27 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.68e-05/0.6489, allocations: 39.23 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.813e-05/0.649, allocations: 36.69 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.649, allocations: 6.531 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.6492, allocations: 90.72 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.6492, allocations: 23.59 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.6493, allocations: 35.59 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.6495, allocations: 141.4 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.6495, allocations: 0 / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6495, allocations: 0.5625 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6495, allocations: 0 / 1.091 GB, free: 3.754 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.0004913/0.65, allocations: 423.5 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.6501, allocations: 8.906 kB / 1.092 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.6501, allocations: 12.72 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.427e-05/0.6502, allocations: 173.6 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.6502, allocations: 7.203 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.6502, allocations: 4.469 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.6504, allocations: 72.64 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6504, allocations: 0.6094 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.6504, allocations: 5.188 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6504, allocations: 0 / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.6506, allocations: 44.31 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.6511, allocations: 318.2 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.6512, allocations: 54.09 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.988e-05/0.6513, allocations: 32.08 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.6513, allocations: 5.438 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.6515, allocations: 72.88 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.6515, allocations: 0.75 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003671/0.6519, allocations: 141.5 kB / 1.093 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.6519, allocations: 58.14 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.652, allocations: 118 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.652, allocations: 36.47 kB / 1.093 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.652, allocations: 91.3 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.652, allocations: 12.2 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.6521, allocations: 25.41 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.6521, allocations: 323.5 kB / 1.093 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.298e-05/0.6522, allocations: 30.7 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.6523, allocations: 51.2 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.6525, allocations: 71.75 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6525, allocations: 1.062 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002241/0.6527, allocations: 116.1 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6527, allocations: 5.688 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.6527, allocations: 6.484 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.6528, allocations: 0 / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.6529, allocations: 11.3 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6529, allocations: 2.406 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.6529, allocations: 13.08 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.653, allocations: 7.75 kB / 1.094 GB, free: 1.762 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 5.925e-05/0.653, allocations: 127.9 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.653, allocations: 11.83 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.204e-05/0.6531, allocations: 6.078 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6531, allocations: 0.6562 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.6531, allocations: 1.219 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.6531, allocations: 79.47 kB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.6531, allocations: 5.531 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.6532, allocations: 8.047 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.6532, allocations: 4.875 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002589/0.6535, allocations: 192.9 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002436/0.6538, allocations: 281.9 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.633e-05/0.6539, allocations: 31.38 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.472e-05/0.6539, allocations: 95.75 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of Backend: time 2.91e-07/0.6539, allocations: 0 / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005981/0.6545, allocations: 191.8 kB / 1.095 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003024/0.6548, allocations: 0.6208 MB / 1.095 GB, free: 348 kB / 0.8575 GB Notification: Performance of Templates: time 0.004138/0.659, allocations: 1.5 MB / 1.097 GB, free: 192 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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