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.13/2.13, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009814/0.0009816, allocations: 180.2 kB / 492.3 MB, free: 0.5938 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.553/1.553, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000853/0.0008531, allocations: 94.75 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.646e-05/3.65e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2974, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.372, allocations: 148.3 MB / 1.357 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.372, allocations: 68.31 kB / 1.357 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001204/1.373, allocations: 370.5 kB / 1.358 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/1.373, allocations: 4.562 kB / 1.358 GB, free: 34.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.163e-06/1.373, allocations: 0 / 1.358 GB, free: 34.74 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.000178/1.374, allocations: 301.1 kB / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.374, allocations: 12.25 kB / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/1.374, allocations: 0.7969 kB / 1.358 GB, free: 34.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.343e-05/1.374, allocations: 167.6 kB / 1.358 GB, free: 34.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/1.374, allocations: 4.609 kB / 1.358 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/1.374, allocations: 0.8125 kB / 1.358 GB, free: 34.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.324e-05/1.374, allocations: 34.75 kB / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/1.374, allocations: 0 / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/1.374, allocations: 0 / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.374, allocations: 0.75 kB / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.873e-05/1.374, allocations: 0 / 1.358 GB, free: 34.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/1.374, allocations: 394 kB / 1.359 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/1.374, allocations: 176.9 kB / 1.359 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/1.374, allocations: 84.69 kB / 1.359 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/1.374, allocations: 75.28 kB / 1.359 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/1.375, allocations: 110.6 kB / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.375, allocations: 0 / 1.359 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.352e-05/1.375, allocations: 25.7 kB / 1.359 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/1.375, allocations: 135 kB / 1.359 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/1.375, allocations: 89.5 kB / 1.359 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/1.375, allocations: 29.45 kB / 1.359 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/1.375, allocations: 84.92 kB / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/1.375, allocations: 0 / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-07/1.375, allocations: 0 / 1.359 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.375, allocations: 315.5 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-06/1.375, allocations: 0 / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.827e-06/1.375, allocations: 0 / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/1.375, allocations: 75.28 kB / 1.36 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/1.375, allocations: 76.81 kB / 1.36 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.84e-05/1.375, allocations: 30.89 kB / 1.36 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/1.375, allocations: 88.89 kB / 1.36 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/1.375, allocations: 79.22 kB / 1.36 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.295e-05/1.375, allocations: 151.5 kB / 1.36 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.567e-05/1.375, allocations: 82.91 kB / 1.36 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.064e-05/1.375, allocations: 155.2 kB / 1.36 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/1.375, allocations: 75.28 kB / 1.36 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/1.375, allocations: 84.02 kB / 1.36 GB, free: 31.73 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 8.498e-05/1.375, allocations: 257.1 kB / 1.361 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/1.375, allocations: 105.5 kB / 1.361 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/1.376, allocations: 115.6 kB / 1.361 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.527e-05/1.376, allocations: 177.3 kB / 1.361 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.766e-05/1.376, allocations: 185.6 kB / 1.361 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.736e-05/1.376, allocations: 186.2 kB / 1.361 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001801/1.376, allocations: 402.5 kB / 1.362 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/1.376, allocations: 104.9 kB / 1.362 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.793e-05/1.376, allocations: 106.1 kB / 1.362 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/1.376, allocations: 177 kB / 1.362 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/1.376, allocations: 187.8 kB / 1.362 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.351e-05/1.376, allocations: 178.7 kB / 1.363 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.732e-05/1.376, allocations: 184.7 kB / 1.363 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/1.376, allocations: 313.7 kB / 1.363 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/1.376, allocations: 183.5 kB / 1.363 GB, free: 28.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.572e-05/1.376, allocations: 177 kB / 1.363 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/1.377, allocations: 109.3 kB / 1.363 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/1.377, allocations: 184.9 kB / 1.364 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.12e-05/1.377, allocations: 109.7 kB / 1.364 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.197e-05/1.377, allocations: 83.12 kB / 1.364 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.377, allocations: 0 / 1.364 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002695/1.377, allocations: 0 / 1.364 GB, free: 28.12 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.000154/1.377, allocations: 176.9 kB / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 3.525e-05/1.377, allocations: 4.484 kB / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.377, allocations: 0 / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-06/1.377, allocations: 3.375 kB / 1.364 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.378, allocations: 0.5232 MB / 1.365 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001755/1.378, allocations: 119.3 kB / 1.365 GB, free: 27.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/1.378, allocations: 0.6789 MB / 1.365 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.885e-06/1.378, allocations: 0 / 1.365 GB, free: 26.6 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/1.378, allocations: 8.094 kB / 1.365 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.378, allocations: 0 / 1.365 GB, free: 26.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.00173/1.38, allocations: 175.9 kB / 1.365 GB, free: 26.54 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