Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001614/0.001615, allocations: 106.1 kB / 16.41 MB, free: 6.512 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.001677/0.001677, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.618/2.618, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 71.89 kB / 1.055 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8623, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002218/0.8646, allocations: 0.578 MB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 5.684e-05/0.8647, allocations: 7.922 kB / 1.209 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.592e-05/0.8647, allocations: 4 kB / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.38e-05/0.8647, allocations: 7.938 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.8648, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.785e-05/0.8649, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.8649, allocations: 4 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.173e-05/0.865, allocations: 3.984 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.777e-05/0.865, allocations: 4 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.884e-05/0.8651, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.8651, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.948e-06/0.8651, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.8651, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.8652, allocations: 4 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.184e-05/0.8652, allocations: 3.938 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.8653, allocations: 4 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8653, allocations: 0 / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.8653, allocations: 0 / 1.209 GB, free: 13.03 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.0003458/0.8656, allocations: 315.5 kB / 1.209 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8657, allocations: 16 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.8657, allocations: 0.9375 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.8659, allocations: 160.4 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.8659, allocations: 4.375 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.8659, allocations: 384 / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.273e-05/0.866, allocations: 30.27 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.866, allocations: 192 / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.866, allocations: 3.938 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.866, allocations: 0 / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.8661, allocations: 3.984 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.8665, allocations: 383.5 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.8666, allocations: 181.1 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.8666, allocations: 80.14 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.8667, allocations: 75.28 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.8667, allocations: 105.8 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.8667, allocations: 4 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.166e-05/0.8668, allocations: 29.64 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.056e-05/0.8669, allocations: 130.7 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.867, allocations: 93.86 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.867, allocations: 25.7 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.8671, allocations: 84.14 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.8671, allocations: 0 / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.8671, allocations: 13.7 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8673, allocations: 318.9 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-06/0.8673, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.8673, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.8673, allocations: 75.28 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.591e-05/0.8674, allocations: 83.22 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.145e-05/0.8674, allocations: 37.48 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.8675, allocations: 79.28 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.735e-05/0.8675, allocations: 83.31 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.83e-05/0.8676, allocations: 158.6 kB / 1.212 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.886e-05/0.8676, allocations: 83.2 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.906e-05/0.8677, allocations: 150.6 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.232e-05/0.8678, allocations: 83.22 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.8678, allocations: 75.28 kB / 1.212 GB, free: 9.891 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.0001456/0.868, allocations: 268.3 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.8681, allocations: 105 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.306e-05/0.8681, allocations: 112 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.962e-05/0.8682, allocations: 176.3 kB / 1.213 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.502e-05/0.8683, allocations: 180.2 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-05/0.8684, allocations: 180.3 kB / 1.213 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.8687, allocations: 413.1 kB / 1.213 GB, free: 8.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-05/0.8687, allocations: 105 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.8688, allocations: 105 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000157/0.8689, allocations: 180.2 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.749e-05/0.869, allocations: 176.3 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001261/0.8692, allocations: 192.2 kB / 1.214 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001493/0.8693, allocations: 188.2 kB / 1.214 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.8695, allocations: 300.1 kB / 1.214 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.215e-05/0.8696, allocations: 190.1 kB / 1.215 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.8697, allocations: 184.2 kB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/0.8698, allocations: 105 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.8699, allocations: 180.3 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.87, allocations: 104.9 kB / 1.215 GB, free: 6.297 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.87, allocations: 79.27 kB / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.87, allocations: 0 / 1.215 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002686/0.8703, allocations: 4 kB / 1.215 GB, free: 6.215 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.0001881/0.8705, allocations: 178.6 kB / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.591e-05/0.8705, allocations: 0 / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8705, allocations: 0 / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.8705, allocations: 0 / 1.215 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.8709, allocations: 463.6 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/0.8713, allocations: 189.9 kB / 1.216 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.8716, allocations: 0.6767 MB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.604e-05/0.8716, allocations: 7.438 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.8716, allocations: 4 kB / 1.217 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of Templates: time 0.001657/0.8733, allocations: 311.9 kB / 1.217 GB, free: 4.332 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches