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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001063/0.001063, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001317/0.001317, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.988/2.988, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005737/0.000574, allocations: 12.75 kB / 0.9022 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4197, allocations: 159.6 MB / 1.058 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.0008493/0.4206, allocations: 307.5 kB / 1.058 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 5.008e-05/0.4207, allocations: 4 kB / 1.058 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.4207, allocations: 4 kB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.4207, allocations: 0 / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.234e-05/0.4208, allocations: 0 / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 2.814e-05/0.4208, allocations: 0 / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.333e-05/0.4209, allocations: 3.938 kB / 1.058 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.411e-05/0.4209, allocations: 3.938 kB / 1.058 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.421, allocations: 8 kB / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.121e-05/0.421, allocations: 0 / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.421, allocations: 0 / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-06/0.421, allocations: 0 / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.396e-06/0.421, allocations: 0 / 1.058 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.381e-05/0.421, allocations: 25.7 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.857e-05/0.4211, allocations: 7.922 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4211, allocations: 0 / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4211, allocations: 0 / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.4211, allocations: 0 / 1.058 GB, free: 4.93 MB / 0.8106 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.0003009/0.4214, allocations: 319.3 kB / 1.059 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4215, allocations: 8.094 kB / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.4215, allocations: 0 / 1.059 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.4217, allocations: 167.1 kB / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4217, allocations: 0 / 1.059 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4217, allocations: 7.891 kB / 1.059 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.8e-05/0.4218, allocations: 25.7 kB / 1.059 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4218, allocations: 0 / 1.059 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.4218, allocations: 0 / 1.059 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.4218, allocations: 4 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.527e-05/0.4219, allocations: 4 kB / 1.059 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.4222, allocations: 383.5 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.568e-05/0.4223, allocations: 173.1 kB / 1.059 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.4223, allocations: 80.14 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.4224, allocations: 79.28 kB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.4224, allocations: 105.8 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4224, allocations: 4 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.464e-05/0.4225, allocations: 25.7 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.4226, allocations: 134.6 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.4227, allocations: 97.86 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.4227, allocations: 29.83 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.4227, allocations: 80.14 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.4227, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-07/0.4228, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4229, allocations: 314.9 kB / 1.06 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.597e-06/0.4229, allocations: 3.938 kB / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-06/0.4229, allocations: 0 / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.4229, allocations: 83.23 kB / 1.06 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.071e-05/0.423, allocations: 75.28 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.591e-05/0.423, allocations: 29.7 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.4231, allocations: 87.27 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.4231, allocations: 79.22 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.098e-05/0.4232, allocations: 150.6 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.451e-05/0.4232, allocations: 83.22 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.776e-05/0.4233, allocations: 150.6 kB / 1.061 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.4233, allocations: 83.28 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.4234, allocations: 79.22 kB / 1.061 GB, free: 1.816 MB / 0.8106 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.000113/0.4235, allocations: 264.3 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.4236, allocations: 108.9 kB / 1.062 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/0.4236, allocations: 112 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/0.4237, allocations: 176.3 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.646e-05/0.4237, allocations: 180.3 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.208e-05/0.4238, allocations: 188.2 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.424, allocations: 401.2 kB / 1.063 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.396e-05/0.4241, allocations: 108.9 kB / 1.063 GB, free: 208 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.93e-05/0.4241, allocations: 109 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.838e-05/0.4242, allocations: 184.3 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.15e-05/0.4243, allocations: 180.5 kB / 1.063 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.206e-05/0.4243, allocations: 176.3 kB / 1.063 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.087e-05/0.4244, allocations: 184.2 kB / 1.063 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.4245, allocations: 319.8 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.4246, allocations: 182 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.184e-05/0.4247, allocations: 180.3 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.4248, allocations: 104.9 kB / 1.064 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.4249, allocations: 184.2 kB / 1.064 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.4249, allocations: 104.9 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.622e-05/0.4249, allocations: 79.28 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4249, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002576/0.4252, allocations: 4 kB / 1.065 GB, free: 14.14 MB / 0.8262 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.0001694/0.4254, allocations: 170.5 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.809e-05/0.4254, allocations: 0 / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4254, allocations: 3.938 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.4254, allocations: 0 / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.4258, allocations: 0.5264 MB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.4261, allocations: 157.9 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.4263, allocations: 0.6692 MB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.596e-06/0.4263, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.4264, allocations: 7.438 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4264, allocations: 8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of Templates: time 0.00213/0.4285, allocations: 156.2 kB / 1.066 GB, free: 12.38 MB / 0.8262 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/jenkins/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