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.001768/0.001768, allocations: 105.3 kB / 15.98 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.002019/0.002019, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.448/1.448, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.674/2.674, allocations: 469.8 MB / 0.7427 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 70.8 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3231, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002854/0.326, allocations: 1.572 MB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3274, allocations: 0.7207 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.3275, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.3275, allocations: 7.922 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.3277, allocations: 7.922 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005487/0.3282, allocations: 111.8 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3283, allocations: 75.78 kB / 1.067 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.675e-05/0.3284, allocations: 7.984 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.994e-05/0.3285, allocations: 31.92 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/0.3286, allocations: 47.81 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3286, allocations: 4 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002326/0.3289, allocations: 95.84 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.3289, allocations: 19.92 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.329, allocations: 39.84 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3292, allocations: 96 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3292, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3292, allocations: 0 / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3293, allocations: 0 / 1.067 GB, free: 12.3 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.0008413/0.3301, allocations: 424.9 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3302, allocations: 12.62 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.3302, allocations: 8.844 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3304, allocations: 176.2 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3304, allocations: 4.375 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3304, allocations: 4.375 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.3307, allocations: 73.97 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3307, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3307, allocations: 7.922 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3307, allocations: 0 / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.3309, allocations: 31.98 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.3315, allocations: 316.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3317, allocations: 46.56 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.863e-05/0.3318, allocations: 32.97 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.3318, allocations: 7.938 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.332, allocations: 75.38 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.332, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004048/0.3325, allocations: 137.6 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.3325, allocations: 63.39 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3326, allocations: 113.8 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3327, allocations: 33.7 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.3327, allocations: 88.05 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3328, allocations: 27.67 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.3328, allocations: 29.7 kB / 1.069 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.333, allocations: 322.8 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.3331, allocations: 19.98 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.3332, allocations: 58.48 kB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3334, allocations: 70.55 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3334, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/0.3336, allocations: 117.5 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3337, allocations: 4.062 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3337, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3337, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.456e-05/0.3338, allocations: 12 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3338, allocations: 3.984 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.901e-05/0.3339, allocations: 11.91 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.3339, allocations: 4 kB / 1.069 GB, free: 9.758 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.0001098/0.334, allocations: 119.5 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.334, allocations: 15.84 kB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/0.3341, allocations: 12.36 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.3341, allocations: 3.938 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3341, allocations: 0 / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3341, allocations: 4 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.3346, allocations: 382.4 kB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3346, allocations: 0 / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.012e-05/0.3347, allocations: 4 kB / 1.07 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3347, allocations: 4 kB / 1.07 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3347, allocations: 7.984 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3347, allocations: 0 / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.3347, allocations: 7.875 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.335, allocations: 203.4 kB / 1.07 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.3351, allocations: 81.02 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.3351, allocations: 7.984 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.412e-05/0.3352, allocations: 11.98 kB / 1.07 GB, free: 8.812 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3353, allocations: 7.938 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3353, allocations: 7.984 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.3354, allocations: 95.2 kB / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3354, allocations: 0 / 1.07 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003071/0.3357, allocations: 36 kB / 1.07 GB, free: 8.668 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.0003968/0.3361, allocations: 170.9 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002456/0.3363, allocations: 71.89 kB / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3363, allocations: 0 / 1.07 GB, free: 8.441 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3365, allocations: 39.92 kB / 1.07 GB, free: 8.402 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3367, allocations: 7.984 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3372, allocations: 218.3 kB / 1.071 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.3375, allocations: 0.6885 MB / 1.071 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/0.3376, allocations: 11.44 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3376, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of Templates: time 0.003783/0.3413, allocations: 1.614 MB / 1.073 GB, free: 5.805 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