Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001814/0.001814, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 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.214/2.214, allocations: 390.3 MB / 0.6655 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.9515 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6767, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002186/0.6789, allocations: 1.501 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.68, allocations: 0.7243 MB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.6801, allocations: 5.125 kB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.6801, allocations: 9.391 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.6802, allocations: 9.953 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.6806, allocations: 125.4 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.6808, allocations: 76.92 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.137e-05/0.6808, allocations: 11 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.6809, allocations: 31.92 kB / 1.091 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.681, allocations: 37.45 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.681, allocations: 10.34 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001817/0.6812, allocations: 97.53 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.6812, allocations: 20.47 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.6813, allocations: 27.08 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.6815, allocations: 141.7 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6815, allocations: 4 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6815, allocations: 1.062 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.6815, allocations: 0 / 1.091 GB, free: 3.73 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.0004889/0.682, allocations: 428.8 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6821, allocations: 8.188 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.853e-05/0.6821, allocations: 9.125 kB / 1.092 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.484e-05/0.6822, allocations: 169.9 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.6822, allocations: 2.719 kB / 1.092 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.6822, allocations: 9.703 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.6824, allocations: 68.38 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.6824, allocations: 0 / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.6824, allocations: 0.6875 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.6825, allocations: 4.688 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001317/0.6826, allocations: 40.03 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.6831, allocations: 315 kB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.6832, allocations: 49.91 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.452e-05/0.6833, allocations: 36.11 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.6833, allocations: 4.875 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.6835, allocations: 80.89 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.6835, allocations: 0 / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003748/0.6839, allocations: 137.8 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.876e-05/0.6839, allocations: 57.8 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.041e-05/0.684, allocations: 119.5 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.684, allocations: 27.42 kB / 1.093 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.6841, allocations: 96.56 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.6841, allocations: 10.86 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.6841, allocations: 29.39 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.068e-05/0.6842, allocations: 328.2 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.095e-05/0.6843, allocations: 26.89 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.775e-05/0.6843, allocations: 54.34 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.6845, allocations: 73.05 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6845, allocations: 0.7188 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002283/0.6847, allocations: 112.3 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.6848, allocations: 5.062 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.6848, allocations: 1 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.6848, allocations: 2.703 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.948e-05/0.6849, allocations: 14.48 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.6849, allocations: 1.734 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.492e-05/0.685, allocations: 17.28 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.685, allocations: 3.703 kB / 1.094 GB, free: 1.746 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.922e-05/0.6851, allocations: 123.7 kB / 1.094 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.6851, allocations: 7.25 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.28e-05/0.6851, allocations: 11.78 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.6851, allocations: 0 / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6851, allocations: 0.7969 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.6851, allocations: 79.27 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.6852, allocations: 1.828 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-05/0.6852, allocations: 12.45 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.6853, allocations: 8.906 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002728/0.6856, allocations: 192.5 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000258/0.6858, allocations: 282.7 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001006/0.6859, allocations: 34.41 kB / 1.094 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.686, allocations: 96.91 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of Backend: time 2.3e-07/0.686, allocations: 7.938 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007736/0.6868, allocations: 182.5 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0004283/0.6872, allocations: 0.6246 MB / 1.095 GB, free: 328 kB / 0.8575 GB Notification: Performance of Templates: time 0.004716/0.692, allocations: 1.497 MB / 1.097 GB, free: 168 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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