Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.39/2.39, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001089/0.001089, allocations: 172.8 kB / 487.4 MB, free: 5.039 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.556/1.556, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 95.91 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.227e-05/2.229e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.049/1.371, allocations: 147.6 MB / 1.35 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/1.371, allocations: 66.45 kB / 1.35 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001109/1.372, allocations: 373.4 kB / 1.351 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.372, allocations: 1.438 kB / 1.351 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.372, allocations: 0 / 1.351 GB, free: 34.2 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.0002007/1.372, allocations: 304.4 kB / 1.351 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.373, allocations: 9.594 kB / 1.351 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/1.373, allocations: 3.938 kB / 1.351 GB, free: 33.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.726e-05/1.373, allocations: 164.4 kB / 1.351 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/1.373, allocations: 4.562 kB / 1.351 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/1.373, allocations: 4 kB / 1.351 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.161e-05/1.373, allocations: 3.938 kB / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.879e-05/1.373, allocations: 29.62 kB / 1.351 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/1.373, allocations: 0 / 1.351 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/1.373, allocations: 3.906 kB / 1.351 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/1.373, allocations: 0 / 1.351 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/1.373, allocations: 360.6 kB / 1.351 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.371e-05/1.373, allocations: 176.3 kB / 1.352 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/1.373, allocations: 84.12 kB / 1.352 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/1.373, allocations: 80.02 kB / 1.352 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.373, allocations: 105.8 kB / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.373, allocations: 0 / 1.352 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.408e-05/1.373, allocations: 26.31 kB / 1.352 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/1.373, allocations: 63.41 kB / 1.352 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/1.373, allocations: 85.8 kB / 1.352 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/1.374, allocations: 25.7 kB / 1.352 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.638e-05/1.374, allocations: 80.14 kB / 1.352 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-06/1.374, allocations: 0 / 1.352 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.374, allocations: 0 / 1.352 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.374, allocations: 315.3 kB / 1.352 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/1.374, allocations: 128 / 1.352 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-06/1.374, allocations: 8.5 kB / 1.352 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/1.374, allocations: 75.28 kB / 1.352 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-05/1.374, allocations: 80.75 kB / 1.353 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.343e-05/1.374, allocations: 26.5 kB / 1.353 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/1.374, allocations: 83.84 kB / 1.353 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.773e-05/1.374, allocations: 78.66 kB / 1.353 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.086e-05/1.374, allocations: 151.3 kB / 1.353 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.65e-05/1.374, allocations: 83.83 kB / 1.353 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.592e-05/1.374, allocations: 155.1 kB / 1.353 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/1.374, allocations: 77.06 kB / 1.353 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/1.374, allocations: 79.22 kB / 1.353 GB, free: 31.3 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 0.0001034/1.374, allocations: 256.1 kB / 1.354 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/1.374, allocations: 109.9 kB / 1.354 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/1.374, allocations: 117.4 kB / 1.354 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.038e-05/1.374, allocations: 177.3 kB / 1.354 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.465e-05/1.375, allocations: 181 kB / 1.354 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/1.375, allocations: 186.3 kB / 1.354 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/1.375, allocations: 375.4 kB / 1.355 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/1.375, allocations: 113.7 kB / 1.355 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/1.375, allocations: 108.8 kB / 1.355 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.293e-05/1.375, allocations: 184.6 kB / 1.355 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/1.375, allocations: 177 kB / 1.355 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-05/1.375, allocations: 181 kB / 1.355 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-05/1.375, allocations: 181.1 kB / 1.356 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.375, allocations: 306.1 kB / 1.356 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/1.375, allocations: 183.4 kB / 1.356 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/1.375, allocations: 180.7 kB / 1.356 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/1.376, allocations: 105.7 kB / 1.356 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/1.376, allocations: 181.1 kB / 1.356 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/1.376, allocations: 105.7 kB / 1.357 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.137e-05/1.376, allocations: 79.19 kB / 1.357 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.376, allocations: 0 / 1.357 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002509/1.376, allocations: 0 / 1.357 GB, free: 27.73 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.0001462/1.376, allocations: 175.1 kB / 1.357 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.049e-05/1.376, allocations: 11.66 kB / 1.357 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.376, allocations: 0 / 1.357 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-06/1.376, allocations: 0 / 1.357 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/1.376, allocations: 0.5193 MB / 1.357 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001691/1.377, allocations: 117.2 kB / 1.357 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.377, allocations: 0.679 MB / 1.358 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.305e-06/1.377, allocations: 0 / 1.358 GB, free: 26.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-06/1.377, allocations: 7.438 kB / 1.358 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.377, allocations: 0 / 1.358 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.001517/1.378, allocations: 140 kB / 1.358 GB, free: 26.16 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches