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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001553/0.00156, allocations: 114.7 kB / 16.37 MB, free: 6.012 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.001593/0.001594, allocations: 189.4 kB / 17.31 MB, free: 5.613 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 60.91 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3297, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003013/0.3327, allocations: 1.504 MB / 0.9526 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3341, allocations: 0.7245 MB / 0.9533 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.063e-05/0.3341, allocations: 7.938 kB / 0.9533 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.3342, allocations: 3.938 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-05/0.3342, allocations: 7.875 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.3348, allocations: 127.6 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3349, allocations: 71.83 kB / 0.9535 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.3351, allocations: 8 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.3351, allocations: 39.83 kB / 0.9536 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.3352, allocations: 39.84 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3352, allocations: 8 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3354, allocations: 91.91 kB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.3355, allocations: 27.84 kB / 0.9537 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.3355, allocations: 31.86 kB / 0.9537 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3358, allocations: 147.5 kB / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3358, allocations: 0 / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3358, allocations: 0 / 0.9539 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3358, allocations: 0 / 0.9539 GB, free: 5.211 MB / 0.7325 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.0006589/0.3365, allocations: 416.9 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3365, allocations: 8.031 kB / 0.9543 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.3366, allocations: 8.844 kB / 0.9543 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.3367, allocations: 180.3 kB / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3367, allocations: 384 / 0.9545 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3368, allocations: 12.3 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.337, allocations: 81.89 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.337, allocations: 0 / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.337, allocations: 0 / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.337, allocations: 4 kB / 0.9546 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3372, allocations: 35.97 kB / 0.9546 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006643/0.3378, allocations: 316.7 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.338, allocations: 46.5 kB / 0.9549 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.3381, allocations: 40.95 kB / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3381, allocations: 0 / 0.955 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002198/0.3383, allocations: 79.38 kB / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3383, allocations: 0 / 0.9551 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.3388, allocations: 141.6 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.3388, allocations: 59.33 kB / 0.9553 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.339, allocations: 117.8 kB / 0.9554 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.339, allocations: 29.7 kB / 0.9554 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.3391, allocations: 96.12 kB / 0.9555 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.3391, allocations: 15.75 kB / 0.9555 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/0.3392, allocations: 33.7 kB / 0.9555 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3393, allocations: 314.8 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.3394, allocations: 31.97 kB / 0.9559 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.543e-05/0.3395, allocations: 43 kB / 0.9559 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.3396, allocations: 78.48 kB / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3397, allocations: 0 / 0.956 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002323/0.3399, allocations: 117.5 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3399, allocations: 7.938 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3399, allocations: 8.062 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.34, allocations: 0 / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.3401, allocations: 11.98 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3401, allocations: 0 / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.547e-05/0.3401, allocations: 11.84 kB / 0.9561 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.3402, allocations: 8 kB / 0.9561 GB, free: 2.656 MB / 0.7325 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.0001181/0.3403, allocations: 123.7 kB / 0.9563 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.72e-05/0.3403, allocations: 7.984 kB / 0.9563 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.3404, allocations: 12.38 kB / 0.9563 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3404, allocations: 4 kB / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3404, allocations: 0 / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3404, allocations: 0 / 0.9563 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.3409, allocations: 382.3 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3409, allocations: 0 / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.481e-05/0.3409, allocations: 8 kB / 0.9567 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.341, allocations: 3.938 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.341, allocations: 3.984 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.341, allocations: 8 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.341, allocations: 3.938 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.3413, allocations: 200 kB / 0.9569 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.3413, allocations: 89 kB / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3414, allocations: 0 / 0.9569 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.3415, allocations: 4 kB / 0.957 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3415, allocations: 15.92 kB / 0.957 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.3415, allocations: 4 kB / 0.957 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.3416, allocations: 95.42 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3416, allocations: 0 / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003114/0.3419, allocations: 36 kB / 0.9571 GB, free: 1.574 MB / 0.7325 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.0003585/0.3423, allocations: 168.9 kB / 0.9573 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.3425, allocations: 71.95 kB / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3425, allocations: 0 / 0.9573 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.295e-05/0.3426, allocations: 35.92 kB / 0.9574 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.3429, allocations: 11.98 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.3433, allocations: 187.8 kB / 0.9576 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.3436, allocations: 0.6973 MB / 0.9582 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.204e-05/0.3437, allocations: 0 / 0.9582 GB, free: 368 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.3437, allocations: 11.44 kB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.3437, allocations: 0 / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of Templates: time 0.004434/0.3482, allocations: 1.449 MB / 0.9597 GB, free: 14.9 MB / 0.7481 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 -s cvode -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