Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006783/0.006783, allocations: 102.7 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 190.1 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.91 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156/1.158, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002103/1.16, allocations: 0.5376 MB / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.575e-05/1.16, allocations: 0 / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.18e-05/1.16, allocations: 0 / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/1.16, allocations: 3.938 kB / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/1.16, allocations: 0 / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.294e-05/1.16, allocations: 0 / 1.208 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/1.16, allocations: 11.98 kB / 1.208 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.372e-05/1.16, allocations: 4 kB / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.902e-05/1.16, allocations: 3.938 kB / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.805e-05/1.16, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/1.16, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.346e-06/1.16, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/1.16, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/1.16, allocations: 4 kB / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/1.161, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.161, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.366e-06/1.161, allocations: 0 / 1.208 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.185e-05/1.161, allocations: 7.984 kB / 1.208 GB, free: 13.06 MB / 0.9356 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.000359/1.161, allocations: 317.6 kB / 1.209 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/1.161, allocations: 8.031 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.113e-05/1.161, allocations: 8.812 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/1.161, allocations: 160.4 kB / 1.209 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/1.161, allocations: 4.375 kB / 1.209 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/1.161, allocations: 4.359 kB / 1.209 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.571e-05/1.161, allocations: 30.2 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/1.161, allocations: 4.188 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.161, allocations: 3.938 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.161, allocations: 0 / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.8e-05/1.161, allocations: 4 kB / 1.209 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/1.162, allocations: 379.5 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/1.162, allocations: 177 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.706e-05/1.162, allocations: 84.14 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/1.162, allocations: 75.28 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.162, allocations: 105.8 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.162, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.336e-05/1.162, allocations: 29.7 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/1.162, allocations: 126.7 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/1.162, allocations: 109.8 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/1.162, allocations: 25.7 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.225e-05/1.162, allocations: 80.14 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/1.162, allocations: 0 / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/1.162, allocations: 9.719 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.162, allocations: 310.8 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-06/1.162, allocations: 4 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.837e-06/1.162, allocations: 128 / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.974e-05/1.162, allocations: 79.28 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-05/1.163, allocations: 79.28 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.748e-05/1.163, allocations: 33.55 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.223e-05/1.163, allocations: 83.28 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/1.163, allocations: 87.23 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.801e-05/1.163, allocations: 154.6 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/1.163, allocations: 75.28 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.74e-05/1.163, allocations: 162.5 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.988e-05/1.163, allocations: 75.28 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/1.163, allocations: 79.22 kB / 1.211 GB, free: 9.918 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/1.163, allocations: 264.3 kB / 1.211 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/1.163, allocations: 112.9 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/1.163, allocations: 112 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.579e-05/1.163, allocations: 176.3 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.288e-05/1.163, allocations: 180.3 kB / 1.212 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-05/1.163, allocations: 180.2 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/1.164, allocations: 405.2 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.205e-05/1.164, allocations: 116.9 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.176e-05/1.164, allocations: 101 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.73e-05/1.164, allocations: 180.2 kB / 1.213 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-05/1.164, allocations: 180.2 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.364e-05/1.164, allocations: 184.3 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.608e-05/1.164, allocations: 184.2 kB / 1.213 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/1.164, allocations: 308.1 kB / 1.214 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/1.164, allocations: 186 kB / 1.214 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/1.164, allocations: 176.3 kB / 1.214 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/1.164, allocations: 112.9 kB / 1.214 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/1.164, allocations: 184.2 kB / 1.214 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/1.164, allocations: 105 kB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.596e-05/1.164, allocations: 79.28 kB / 1.214 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/1.164, allocations: 3.938 kB / 1.214 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002447/1.165, allocations: 0 / 1.214 GB, free: 6.238 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/1.165, allocations: 174.5 kB / 1.215 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.688e-05/1.165, allocations: 4.094 kB / 1.215 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.165, allocations: 0 / 1.215 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.165, allocations: 4 kB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/1.165, allocations: 459.6 kB / 1.215 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/1.166, allocations: 160.2 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/1.166, allocations: 0.669 MB / 1.216 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.999e-06/1.166, allocations: 4 kB / 1.216 GB, free: 4.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/1.166, allocations: 11.38 kB / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/1.166, allocations: 0 / 1.216 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of Templates: time 0.001979/1.168, allocations: 174.7 kB / 1.216 GB, free: 4.535 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches