Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009445/0.009445, allocations: 106.2 kB / 15.74 MB, free: 6 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.001831/0.001831, allocations: 196.8 kB / 16.68 MB, free: 5.918 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.546/1.546, allocations: 222.9 MB / 240.4 MB, free: 4.152 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.432/2.432, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 66.14 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3323, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002781/0.3352, allocations: 1.52 MB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.3365, allocations: 0.7531 MB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.3366, allocations: 4 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.865e-05/0.3367, allocations: 7.875 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.3367, allocations: 11.86 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.3374, allocations: 139.6 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3375, allocations: 103.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3376, allocations: 15.97 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.3377, allocations: 51.83 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.3379, allocations: 55.8 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.3379, allocations: 12 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002053/0.3381, allocations: 99.84 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.502e-05/0.3382, allocations: 19.98 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.3382, allocations: 39.78 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.3386, allocations: 171.5 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3386, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3386, allocations: 4 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3386, allocations: 0 / 1.091 GB, free: 14.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007941/0.3394, allocations: 458.5 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3394, allocations: 8.031 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.3395, allocations: 12.84 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.3397, allocations: 176.2 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.3397, allocations: 4.375 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3397, allocations: 4.375 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.34, allocations: 97.94 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.34, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.3401, allocations: 0 / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3401, allocations: 4 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.3403, allocations: 51.89 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008576/0.3411, allocations: 352.6 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.3413, allocations: 62.55 kB / 1.092 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.3415, allocations: 40.84 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3415, allocations: 4.031 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.3418, allocations: 95.34 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.3418, allocations: 0 / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.000581/0.3424, allocations: 189.6 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.3424, allocations: 59.41 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3425, allocations: 133.2 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3426, allocations: 29.7 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.3426, allocations: 92.05 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.3426, allocations: 19.75 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.3427, allocations: 29.7 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3428, allocations: 326.8 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.735e-05/0.3429, allocations: 27.98 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.343, allocations: 64.27 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.3432, allocations: 96.2 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3432, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002583/0.3435, allocations: 133.4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3435, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3435, allocations: 7.984 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3436, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3437, allocations: 12 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.3437, allocations: 3.984 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.967e-05/0.3438, allocations: 11.94 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3438, allocations: 11.88 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001178/0.3439, allocations: 131.8 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.344, allocations: 15.89 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.344, allocations: 4.375 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.344, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.344, allocations: 4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.344, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005978/0.3446, allocations: 438.2 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3446, allocations: 0 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.893e-05/0.3447, allocations: 4 kB / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3447, allocations: 48 / 1.094 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3447, allocations: 11.97 kB / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3447, allocations: 0 / 1.094 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3447, allocations: 7.938 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.3451, allocations: 239.9 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3452, allocations: 84.95 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.3452, allocations: 4 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3454, allocations: 7.984 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.3454, allocations: 7.922 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3454, allocations: 8 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.3455, allocations: 99.2 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3455, allocations: 4 kB / 1.094 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003211/0.3458, allocations: 43.98 kB / 1.094 GB, free: 10.48 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003635/0.3462, allocations: 165.3 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3465, allocations: 91.95 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3465, allocations: 0 / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.3467, allocations: 51.95 kB / 1.095 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.347, allocations: 13.86 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.3475, allocations: 208 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3477, allocations: 0.6925 MB / 1.096 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.822e-05/0.3478, allocations: 4 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.45e-05/0.3478, allocations: 15.42 kB / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3478, allocations: 0 / 1.096 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of Templates: time 0.00475/0.3526, allocations: 1.745 MB / 1.097 GB, free: 7.461 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0