Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001374/0.001374, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.681/2.681, allocations: 469.8 MB / 0.743 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 67.86 kB / 0.9092 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2972, allocations: 159.1 MB / 1.065 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002724/0.3, allocations: 1.489 MB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3013, allocations: 0.7322 MB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.3014, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.706e-05/0.3014, allocations: 11.92 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.965e-05/0.3015, allocations: 11.86 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.302, allocations: 123.6 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.3021, allocations: 71.84 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.317e-05/0.3022, allocations: 11.98 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.3023, allocations: 35.91 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.582e-05/0.3023, allocations: 31.84 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3024, allocations: 15.94 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.3025, allocations: 95.91 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.3026, allocations: 19.91 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.3026, allocations: 35.78 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.3029, allocations: 139.9 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3029, allocations: 3.984 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3029, allocations: 3.938 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3029, allocations: 0 / 1.067 GB, free: 11.92 MB / 0.8419 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.0006344/0.3036, allocations: 417 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3036, allocations: 8.625 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.3036, allocations: 8.844 kB / 1.068 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3038, allocations: 176.2 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.3038, allocations: 4.375 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.3038, allocations: 4.359 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.304, allocations: 77.95 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.304, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3041, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.3041, allocations: 8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.3042, allocations: 47.83 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006197/0.3048, allocations: 308.8 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.305, allocations: 46.56 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.287e-05/0.3051, allocations: 40.95 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.3051, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.3053, allocations: 83.31 kB / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3053, allocations: 0 / 1.069 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0003952/0.3057, allocations: 137.6 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3058, allocations: 59.41 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.76e-05/0.3059, allocations: 121.8 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3059, allocations: 25.7 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.306, allocations: 92.05 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.306, allocations: 19.75 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.3061, allocations: 29.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3062, allocations: 322.8 kB / 1.069 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.3063, allocations: 27.98 kB / 1.069 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-05/0.3064, allocations: 50.92 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.3066, allocations: 66.56 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3066, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002498/0.3069, allocations: 117.6 kB / 1.07 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3069, allocations: 4 kB / 1.07 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3069, allocations: 4 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3069, allocations: 0 / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.307, allocations: 15.92 kB / 1.07 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.307, allocations: 0 / 1.07 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.3071, allocations: 15.84 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.3071, allocations: 7.984 kB / 1.07 GB, free: 9.375 MB / 0.8419 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.0001082/0.3072, allocations: 129.3 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.3073, allocations: 11.91 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.3073, allocations: 12.38 kB / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3073, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3073, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.3073, allocations: 0 / 1.07 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.3078, allocations: 378.4 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3078, allocations: 4 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.3079, allocations: 7.984 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3079, allocations: 0 / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.3079, allocations: 8 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3079, allocations: 0 / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3079, allocations: 3.938 kB / 1.07 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.3082, allocations: 211.8 kB / 1.07 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.3083, allocations: 89.02 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3083, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.3084, allocations: 8 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.3084, allocations: 7.922 kB / 1.07 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.3085, allocations: 4 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.09e-05/0.3085, allocations: 95.42 kB / 1.071 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3085, allocations: 0 / 1.071 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003/0.3088, allocations: 39.98 kB / 1.071 GB, free: 8.289 MB / 0.8419 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.0003534/0.3092, allocations: 166.7 kB / 1.071 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.3094, allocations: 67.84 kB / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3095, allocations: 0 / 1.071 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.3096, allocations: 43.91 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.3098, allocations: 13.84 kB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.3103, allocations: 209 kB / 1.071 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3106, allocations: 0.6846 MB / 1.072 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.3106, allocations: 19.42 kB / 1.072 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3106, allocations: 0 / 1.072 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of Templates: time 0.003586/0.3142, allocations: 1.621 MB / 1.073 GB, free: 5.418 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches