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.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.33 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.001396/0.001396, allocations: 188.8 kB / 498.1 MB, free: 5.598 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.515/1.515, allocations: 223.2 MB / 0.7948 GB, free: 17.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.001282/0.001282, allocations: 100.3 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003211, allocations: 11 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.269, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4444, allocations: 148.3 MB / 1.368 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/0.4446, allocations: 75.94 kB / 1.368 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005026/0.4452, allocations: 380.8 kB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.4452, allocations: 3.938 kB / 1.368 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4452, allocations: 0 / 1.368 GB, free: 13.24 MB / 0.8698 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.0002634/0.4455, allocations: 307.4 kB / 1.368 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4455, allocations: 12.09 kB / 1.368 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.4455, allocations: 0 / 1.368 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.4457, allocations: 167.6 kB / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4457, allocations: 0 / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.4457, allocations: 0 / 1.369 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.4458, allocations: 29.7 kB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.4458, allocations: 0 / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.4458, allocations: 4 kB / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4458, allocations: 0 / 1.369 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.4459, allocations: 7.938 kB / 1.369 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.4462, allocations: 383.5 kB / 1.369 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.4463, allocations: 167.9 kB / 1.369 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.4463, allocations: 79.31 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.4464, allocations: 113.8 kB / 1.369 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.4464, allocations: 0 / 1.369 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.292e-05/0.4464, allocations: 29.61 kB / 1.369 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.4465, allocations: 130.7 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.897e-05/0.4466, allocations: 93 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.4466, allocations: 25.7 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.4467, allocations: 84.12 kB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-06/0.4467, allocations: 4.125 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.4467, allocations: 0 / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4468, allocations: 318.8 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-06/0.4468, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.494e-06/0.4468, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.4468, allocations: 75.28 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.319e-05/0.4469, allocations: 79.22 kB / 1.37 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.855e-05/0.4469, allocations: 29.7 kB / 1.37 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.447, allocations: 84.52 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.712e-05/0.447, allocations: 79.28 kB / 1.37 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-05/0.4471, allocations: 158.5 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.4471, allocations: 75.28 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-05/0.4472, allocations: 162.4 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.4472, allocations: 75.28 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.4473, allocations: 75.28 kB / 1.371 GB, free: 10.23 MB / 0.8698 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.0001098/0.4474, allocations: 268.6 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.4474, allocations: 113.5 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.4475, allocations: 107.9 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-05/0.4476, allocations: 184.2 kB / 1.372 GB, free: 9.543 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.585e-05/0.4476, allocations: 184.2 kB / 1.372 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.889e-05/0.4477, allocations: 180.3 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.4479, allocations: 409.1 kB / 1.372 GB, free: 8.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/0.448, allocations: 105 kB / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.448, allocations: 104.9 kB / 1.372 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.596e-05/0.4481, allocations: 180.2 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.4481, allocations: 180.3 kB / 1.373 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.341e-05/0.4482, allocations: 184.2 kB / 1.373 GB, free: 7.941 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-05/0.4483, allocations: 184.3 kB / 1.373 GB, free: 7.754 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.4484, allocations: 308.5 kB / 1.373 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.4485, allocations: 186.1 kB / 1.374 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.4486, allocations: 184.2 kB / 1.374 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.4486, allocations: 105 kB / 1.374 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.4487, allocations: 184.2 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4487, allocations: 101 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.4488, allocations: 79.28 kB / 1.374 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4488, allocations: 0 / 1.374 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002491/0.449, allocations: 4.094 kB / 1.374 GB, free: 6.551 MB / 0.8698 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.0001347/0.4492, allocations: 179.1 kB / 1.374 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.104e-05/0.4492, allocations: 8.484 kB / 1.374 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4492, allocations: 3.938 kB / 1.374 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4492, allocations: 0 / 1.374 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.4495, allocations: 0.5262 MB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.4497, allocations: 154 kB / 1.375 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.4499, allocations: 0.6731 MB / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.025e-05/0.45, allocations: 0 / 1.376 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.45, allocations: 7.438 kB / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of SimCode: time 3.1e-07/0.45, allocations: 0 / 1.376 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of Templates: time 0.001495/0.4515, allocations: 160.2 kB / 1.376 GB, free: 4.781 MB / 0.8698 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