Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Zhang2012WindowsWest,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.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_9_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.001591/0.001591, allocations: 108.2 kB / 16.41 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.001779/0.001779, 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.147/2.147, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 71.88 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7227, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002202/0.7249, allocations: 1.503 MB / 1.09 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.7261, allocations: 0.7288 MB / 1.091 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.7261, allocations: 4 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.7262, allocations: 5.203 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.7262, allocations: 10.97 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.7267, allocations: 120.9 kB / 1.091 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.7269, allocations: 81.16 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.727, allocations: 8.969 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.727, allocations: 38.09 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.098e-05/0.7271, allocations: 42.03 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.7271, allocations: 5.219 kB / 1.091 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.7273, allocations: 90.83 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.645e-05/0.7274, allocations: 18.48 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.7274, allocations: 31.8 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.7277, allocations: 142.2 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7277, allocations: 0.7969 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7277, allocations: 0 / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.7277, allocations: 0.7188 kB / 1.091 GB, free: 3.734 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.0005418/0.7283, allocations: 427.6 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.7283, allocations: 9.281 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.17e-05/0.7283, allocations: 9.172 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.7284, allocations: 177.2 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.7284, allocations: 8.047 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.7285, allocations: 3.969 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.7286, allocations: 68.41 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7287, allocations: 3.938 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.7287, allocations: 9.297 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.7287, allocations: 0.8125 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.7288, allocations: 36.62 kB / 1.092 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.7293, allocations: 314.1 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.7294, allocations: 50.05 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.7295, allocations: 31.48 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.7296, allocations: 5.891 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.7297, allocations: 76.62 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.7297, allocations: 0.7812 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003633/0.7301, allocations: 140.7 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.7301, allocations: 54.36 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.114e-05/0.7302, allocations: 119.3 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.7302, allocations: 30.77 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.7302, allocations: 92.94 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.7303, allocations: 16.19 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.7303, allocations: 24.27 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.7304, allocations: 327.6 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.7304, allocations: 31.75 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.7305, allocations: 46.06 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.7307, allocations: 76.47 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7307, allocations: 1.188 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.7309, allocations: 124.3 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.731, allocations: 5.062 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.731, allocations: 1.797 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.731, allocations: 1.062 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.7311, allocations: 10.89 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7311, allocations: 2.516 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.508e-05/0.7312, allocations: 13.17 kB / 1.094 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.7312, allocations: 2.844 kB / 1.094 GB, free: 1.742 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 6.666e-05/0.7313, allocations: 128.2 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.7313, allocations: 7.609 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.407e-05/0.7313, allocations: 6.906 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.7313, allocations: 4.547 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.7313, allocations: 0.5156 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.922e-05/0.7313, allocations: 79.95 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.7314, allocations: 6.156 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.7314, allocations: 8.281 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.7315, allocations: 12.16 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002759/0.7318, allocations: 188.8 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002706/0.7321, allocations: 282 kB / 1.094 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.423e-05/0.7322, allocations: 35.19 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.7322, allocations: 96.19 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of Backend: time 2.01e-07/0.7322, allocations: 3.938 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006204/0.7328, allocations: 183 kB / 1.095 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003287/0.7332, allocations: 0.6273 MB / 1.095 GB, free: 324 kB / 0.8575 GB Notification: Performance of Templates: time 0.004366/0.7375, allocations: 1.498 MB / 1.097 GB, free: 164 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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