Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 109.1 kB / 15.99 MB, free: 6.352 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.001156/0.001156, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.304/1.304, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.467/2.467, allocations: 469.4 MB / 0.7423 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.75 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2848, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002832/0.2876, allocations: 1.552 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2888, allocations: 0.7246 MB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.472e-05/0.2889, allocations: 8 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.289, allocations: 11.86 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.934e-05/0.289, allocations: 3.938 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.2896, allocations: 107.8 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.2897, allocations: 75.83 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.2898, allocations: 11.98 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.2899, allocations: 31.86 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.29, allocations: 47.81 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.29, allocations: 8 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001937/0.2902, allocations: 95.91 kB / 1.066 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.2902, allocations: 15.92 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2903, allocations: 27.86 kB / 1.066 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.2905, allocations: 104 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2905, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2905, allocations: 3.938 kB / 1.066 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2905, allocations: 0 / 1.066 GB, free: 12.54 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.0006292/0.2911, allocations: 424.9 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.2912, allocations: 8.031 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.2912, allocations: 8.844 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2914, allocations: 180.2 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.2914, allocations: 8.375 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.2914, allocations: 4.375 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2916, allocations: 65.97 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2916, allocations: 3.984 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2917, allocations: 8 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2917, allocations: 0 / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2918, allocations: 47.89 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.2924, allocations: 304.8 kB / 1.067 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2926, allocations: 54.56 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.971e-05/0.2927, allocations: 32.97 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.2927, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.2929, allocations: 75.31 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.2929, allocations: 0 / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004122/0.2933, allocations: 149.6 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.2934, allocations: 51.41 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.2935, allocations: 117.8 kB / 1.068 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.2935, allocations: 29.7 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.2936, allocations: 96.03 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.2936, allocations: 19.75 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.2936, allocations: 25.7 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2938, allocations: 322.8 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.2939, allocations: 35.92 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/0.294, allocations: 51.36 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.2941, allocations: 83.28 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2942, allocations: 4 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002429/0.2944, allocations: 109.6 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2944, allocations: 8 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2944, allocations: 3.984 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.2945, allocations: 0 / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.785e-05/0.2946, allocations: 12 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2946, allocations: 320 / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.634e-05/0.2947, allocations: 11.89 kB / 1.069 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.2947, allocations: 12 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,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.0001002/0.2948, allocations: 123.2 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.2948, allocations: 7.906 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.2949, allocations: 8.359 kB / 1.069 GB, free: 9.82 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.2949, allocations: 4 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2949, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2949, allocations: 0 / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.2954, allocations: 394.3 kB / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2954, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.2954, allocations: 4 kB / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.2954, allocations: 0 / 1.069 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.2954, allocations: 3.984 kB / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2955, allocations: 64 / 1.069 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.2955, allocations: 11.94 kB / 1.069 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.2957, allocations: 207.4 kB / 1.069 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.2958, allocations: 85.02 kB / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2958, allocations: 0 / 1.07 GB, free: 9.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-05/0.2959, allocations: 7.984 kB / 1.07 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.296, allocations: 11.92 kB / 1.07 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.296, allocations: 11.97 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.2961, allocations: 95.2 kB / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2961, allocations: 0 / 1.07 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003025/0.2964, allocations: 36 kB / 1.07 GB, free: 8.875 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,occ.y,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.0003172/0.2967, allocations: 158.2 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002488/0.297, allocations: 75.89 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.297, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.2971, allocations: 40.09 kB / 1.07 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002606/0.2973, allocations: 11.98 kB / 1.07 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.2978, allocations: 210.1 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.298, allocations: 0.6924 MB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.2981, allocations: 15.44 kB / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2981, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of Templates: time 0.003663/0.3018, allocations: 1.623 MB / 1.072 GB, free: 6.004 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches