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.005682/0.005682, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00119/0.00119, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.482/1.482, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.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.65/2.65, allocations: 390.2 MB / 0.6648 GB, free: 128 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 62.94 kB / 0.9508 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3308, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003829/0.3347, allocations: 1.513 MB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.3363, allocations: 0.7298 MB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.253e-05/0.3364, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.102e-05/0.3365, allocations: 3.938 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.69e-05/0.3366, allocations: 7.875 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.3374, allocations: 123.6 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3375, allocations: 83.75 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3377, allocations: 11.98 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.3378, allocations: 31.91 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.957e-05/0.3379, allocations: 43.83 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.3379, allocations: 8 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.3381, allocations: 99.84 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.64e-05/0.3382, allocations: 11.92 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.3383, allocations: 39.84 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.3386, allocations: 139.6 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.908e-05/0.3386, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3386, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3386, allocations: 0 / 1.091 GB, free: 14.63 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.0007437/0.3394, allocations: 417 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3394, allocations: 8.031 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.3395, allocations: 16.72 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.3396, allocations: 176.2 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3397, allocations: 12.31 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.3397, allocations: 8.359 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.34, allocations: 69.97 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.34, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.34, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.34, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3402, allocations: 35.97 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/0.3408, allocations: 320.7 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.341, allocations: 50.56 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.3411, allocations: 28.97 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3411, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001997/0.3413, allocations: 83.31 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3413, allocations: 0 / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004286/0.3417, allocations: 141.5 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.3418, allocations: 51.41 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3419, allocations: 117.8 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3419, allocations: 29.7 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.342, allocations: 104 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.342, allocations: 15.97 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.3421, allocations: 29.7 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3423, allocations: 318.8 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.3424, allocations: 27.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.069e-05/0.3425, allocations: 42.56 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.3426, allocations: 78.48 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3426, allocations: 0 / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002466/0.3429, allocations: 117.4 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3429, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3429, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.343, allocations: 4.062 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.774e-05/0.3431, allocations: 15.92 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.3431, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.3432, allocations: 11.89 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.3432, allocations: 8 kB / 1.093 GB, free: 12.08 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 0.0001102/0.3433, allocations: 117.8 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.104e-05/0.3433, allocations: 11.89 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.3434, allocations: 12.38 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3434, allocations: 4 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3434, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3434, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005415/0.3439, allocations: 382.3 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3439, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.344, allocations: 4 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.344, allocations: 3.984 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.344, allocations: 8 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.344, allocations: 0 / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.344, allocations: 8.406 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.3443, allocations: 211.3 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.3444, allocations: 85.09 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3444, allocations: 0 / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.3445, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.3446, allocations: 15.92 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.3446, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.153e-05/0.3447, allocations: 91.27 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3447, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003148/0.345, allocations: 43.84 kB / 1.094 GB, free: 10.99 MB / 0.8575 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.0003587/0.3453, allocations: 155.5 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3456, allocations: 79.88 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3456, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.3457, allocations: 35.92 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.346, allocations: 11.98 kB / 1.094 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.3465, allocations: 182.2 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3468, allocations: 0.6925 MB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.112e-05/0.3468, allocations: 7.75 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.3469, allocations: 11.42 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of SimCode: time 3.8e-07/0.3469, allocations: 4 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of Templates: time 0.0046/0.3515, allocations: 1.447 MB / 1.096 GB, free: 8.332 MB / 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/jenkins/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