Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 184.1 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008802, allocations: 91.84 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003692, allocations: 11.81 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.204, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.375, allocations: 130.9 MB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.3753, allocations: 71.95 kB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005968/0.3759, allocations: 380.8 kB / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.376, allocations: 0 / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.376, allocations: 0 / 1.028 GB, free: 12.43 MB / 0.6823 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.0002828/0.3763, allocations: 303.4 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.3763, allocations: 16.09 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.3764, allocations: 3.906 kB / 1.029 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.3765, allocations: 167 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.3766, allocations: 3.938 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3766, allocations: 0 / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.3767, allocations: 29.7 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3767, allocations: 0 / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3767, allocations: 0 / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.3767, allocations: 3.984 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.146e-05/0.3767, allocations: 11.94 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.3771, allocations: 379.5 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.142e-05/0.3772, allocations: 169.1 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.3772, allocations: 79.31 kB / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.3773, allocations: 109.8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 2.816e-06/0.3773, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.055e-05/0.3774, allocations: 29.64 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.3775, allocations: 126.7 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.638e-05/0.3775, allocations: 96.98 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3776, allocations: 25.7 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3776, allocations: 80.14 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.3776, allocations: 4.125 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.3776, allocations: 0 / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3777, allocations: 319.5 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.3778, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.3778, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.3778, allocations: 75.28 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.729e-05/0.3778, allocations: 75.28 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.975e-05/0.3779, allocations: 33.64 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.378, allocations: 79.28 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.709e-05/0.378, allocations: 79.28 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.719e-05/0.3781, allocations: 168 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.983e-05/0.3781, allocations: 79.28 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.958e-05/0.3782, allocations: 150.6 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.3783, allocations: 79.22 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.3783, allocations: 75.28 kB / 1.031 GB, free: 9.422 MB / 0.6823 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 () * Number of clocked 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.0001405/0.3785, allocations: 268.4 kB / 1.031 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.3785, allocations: 112.9 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.3786, allocations: 108.1 kB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.126e-05/0.3787, allocations: 176.3 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-05/0.3787, allocations: 188.1 kB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.776e-05/0.3788, allocations: 180.3 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.3791, allocations: 409.1 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.758e-05/0.3791, allocations: 105 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.346e-05/0.3792, allocations: 101 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.762e-05/0.3793, allocations: 180.2 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.089e-05/0.3794, allocations: 184.2 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-05/0.3794, allocations: 185 kB / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.068e-05/0.3795, allocations: 180.3 kB / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.3797, allocations: 307.7 kB / 1.034 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.3798, allocations: 178.1 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/0.3799, allocations: 192.2 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.38, allocations: 105.4 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.45e-05/0.3801, allocations: 184.2 kB / 1.034 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.3801, allocations: 105 kB / 1.034 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.3801, allocations: 79.28 kB / 1.034 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3801, allocations: 0 / 1.034 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002822/0.3804, allocations: 4.094 kB / 1.034 GB, free: 5.742 MB / 0.6823 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 () * Number of clocked 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.0001904/0.3806, allocations: 174.5 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 4.579e-05/0.3807, allocations: 8.047 kB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3807, allocations: 0 / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.967e-06/0.3807, allocations: 3.938 kB / 1.035 GB, free: 5.551 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.3811, allocations: 0.5224 MB / 1.035 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.3813, allocations: 152 kB / 1.035 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3815, allocations: 0.677 MB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.888e-06/0.3816, allocations: 3.938 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.3816, allocations: 7.438 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of SimCode: time 4.21e-07/0.3816, allocations: 0 / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of Templates: time 0.001804/0.3834, allocations: 160.8 kB / 1.036 GB, free: 3.98 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches