Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.16/2.16, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 180.9 kB / 492.3 MB, free: 0.6016 MB / 394.7 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: 221.3 MB / 0.7871 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009573, allocations: 108.9 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.89e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.354, allocations: 148.3 MB / 1.357 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/1.354, allocations: 66.09 kB / 1.357 GB, free: 19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001154/1.355, allocations: 377.7 kB / 1.358 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.034e-06/1.355, allocations: 0.8125 kB / 1.358 GB, free: 34.69 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.324e-06/1.355, allocations: 0 / 1.358 GB, free: 34.69 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001803/1.356, allocations: 300.3 kB / 1.358 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.356, allocations: 13.56 kB / 1.358 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/1.356, allocations: 0 / 1.358 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/1.356, allocations: 164.2 kB / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/1.356, allocations: 5.156 kB / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/1.356, allocations: 0 / 1.358 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/1.356, allocations: 36.22 kB / 1.358 GB, free: 34.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.356, allocations: 4.594 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/1.356, allocations: 4 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.356, allocations: 0 / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.976e-05/1.356, allocations: 4.531 kB / 1.358 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/1.356, allocations: 381.4 kB / 1.359 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.443e-05/1.356, allocations: 173.6 kB / 1.359 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/1.356, allocations: 84.14 kB / 1.359 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/1.356, allocations: 76.81 kB / 1.359 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/1.356, allocations: 106.5 kB / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/1.356, allocations: 0 / 1.359 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.87e-05/1.356, allocations: 33.27 kB / 1.359 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/1.356, allocations: 135.1 kB / 1.359 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/1.356, allocations: 89.61 kB / 1.359 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/1.357, allocations: 25.7 kB / 1.359 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/1.357, allocations: 84.72 kB / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/1.357, allocations: 0 / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-07/1.357, allocations: 0 / 1.359 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/1.357, allocations: 318.5 kB / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-06/1.357, allocations: 0 / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.425e-06/1.357, allocations: 0 / 1.36 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.687e-05/1.357, allocations: 75.89 kB / 1.36 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.357, allocations: 80.83 kB / 1.36 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.632e-05/1.357, allocations: 31.19 kB / 1.36 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.357, allocations: 78.91 kB / 1.36 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/1.357, allocations: 83.7 kB / 1.36 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.595e-05/1.357, allocations: 151.3 kB / 1.36 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/1.357, allocations: 82.72 kB / 1.36 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-05/1.357, allocations: 151.1 kB / 1.36 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/1.357, allocations: 83.69 kB / 1.36 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/1.357, allocations: 79.78 kB / 1.36 GB, free: 31.68 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/1.357, allocations: 257.1 kB / 1.361 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/1.357, allocations: 105.4 kB / 1.361 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/1.357, allocations: 116.1 kB / 1.361 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-05/1.357, allocations: 185.3 kB / 1.361 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-05/1.357, allocations: 181.1 kB / 1.361 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.662e-05/1.357, allocations: 184.6 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/1.358, allocations: 403.3 kB / 1.362 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-05/1.358, allocations: 105.7 kB / 1.362 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/1.358, allocations: 107.9 kB / 1.362 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.38e-05/1.358, allocations: 184.8 kB / 1.362 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-05/1.358, allocations: 177.1 kB / 1.362 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-05/1.358, allocations: 180.2 kB / 1.363 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.016e-05/1.358, allocations: 188.6 kB / 1.363 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/1.358, allocations: 318.2 kB / 1.363 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/1.358, allocations: 179.5 kB / 1.363 GB, free: 28.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/1.359, allocations: 177 kB / 1.363 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/1.359, allocations: 105.5 kB / 1.363 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.483e-05/1.359, allocations: 181.5 kB / 1.364 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/1.359, allocations: 112.1 kB / 1.364 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.066e-05/1.359, allocations: 79.88 kB / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.359, allocations: 0 / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003004/1.359, allocations: 0 / 1.364 GB, free: 28.07 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/1.359, allocations: 173.3 kB / 1.364 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.173e-05/1.359, allocations: 4.484 kB / 1.364 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.359, allocations: 3.875 kB / 1.364 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/1.359, allocations: 4.094 kB / 1.364 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/1.36, allocations: 0.5234 MB / 1.364 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001962/1.36, allocations: 121.4 kB / 1.365 GB, free: 27.24 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/1.36, allocations: 0.6714 MB / 1.365 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.394e-05/1.36, allocations: 8.484 kB / 1.365 GB, free: 26.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/1.36, allocations: 11.44 kB / 1.365 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.36, allocations: 0 / 1.365 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.001873/1.362, allocations: 159.9 kB / 1.365 GB, free: 26.49 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches