Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001583/0.001583, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.89 kB / 0.8686 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6663/0.6675, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002117/0.6697, allocations: 0.6407 MB / 1.017 GB, free: 2.148 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 4.613e-05/0.6698, allocations: 7.938 kB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.592e-05/0.6698, allocations: 0 / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.434e-05/0.6699, allocations: 4 kB / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.639e-05/0.6699, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.693e-05/0.6699, allocations: 0 / 1.017 GB, free: 2.137 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.67, allocations: 4 kB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.6701, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.861e-05/0.6701, allocations: 3.984 kB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.128e-05/0.6701, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.6701, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.491e-06/0.6701, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.6702, allocations: 4 kB / 1.017 GB, free: 2.125 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.6702, allocations: 3.938 kB / 1.017 GB, free: 2.121 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.802e-05/0.6703, allocations: 4 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.6703, allocations: 4 kB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6703, allocations: 0 / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.6703, allocations: 3.938 kB / 1.017 GB, free: 2.109 MB / 0.7637 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.0004272/0.6707, allocations: 315.5 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.6708, allocations: 8.031 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.6708, allocations: 0.9375 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.671, allocations: 168.3 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.671, allocations: 384 / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.671, allocations: 4.375 kB / 1.018 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.6711, allocations: 30.25 kB / 1.018 GB, free: 1.5 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.6711, allocations: 4.172 kB / 1.018 GB, free: 1.496 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.6711, allocations: 7.938 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6711, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.754e-05/0.6712, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.6715, allocations: 375.5 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.6716, allocations: 181 kB / 1.018 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.479e-05/0.6716, allocations: 80.14 kB / 1.018 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.6717, allocations: 75.28 kB / 1.018 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.6717, allocations: 109.9 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6717, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.279e-05/0.6718, allocations: 33.64 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.6719, allocations: 126.7 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.6719, allocations: 101.8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.672, allocations: 25.7 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.668e-05/0.672, allocations: 84.08 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.672, allocations: 0 / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.976e-05/0.672, allocations: 9.719 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6721, allocations: 319 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.6722, allocations: 0 / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-06/0.6722, allocations: 0 / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.972e-05/0.6722, allocations: 75.28 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.982e-05/0.6722, allocations: 75.28 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.139e-05/0.6723, allocations: 37.64 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.6724, allocations: 81.62 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.6724, allocations: 79.22 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.225e-05/0.6725, allocations: 158.5 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.105e-05/0.6725, allocations: 83.22 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-05/0.6726, allocations: 154.6 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.258e-05/0.6726, allocations: 75.28 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.6727, allocations: 79.22 kB / 1.02 GB, free: 14.98 MB / 0.7794 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.0001213/0.6728, allocations: 272.3 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.6729, allocations: 101 kB / 1.02 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.821e-05/0.6729, allocations: 112 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/0.673, allocations: 180.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.225e-05/0.6731, allocations: 184.1 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.008e-05/0.6731, allocations: 176.3 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.6734, allocations: 413.2 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.02e-05/0.6734, allocations: 104.9 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.6734, allocations: 101 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-05/0.6735, allocations: 180.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/0.6736, allocations: 184.2 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-05/0.6736, allocations: 188.3 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.698e-05/0.6737, allocations: 180.2 kB / 1.022 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.6738, allocations: 312.1 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.877e-05/0.6739, allocations: 182.1 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.674, allocations: 176.3 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.6741, allocations: 117 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.6741, allocations: 176.3 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.6742, allocations: 108.9 kB / 1.023 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.6742, allocations: 83.28 kB / 1.023 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6742, allocations: 3.938 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002585/0.6745, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 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.0001552/0.6747, allocations: 182.6 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 3.783e-05/0.6747, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6747, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.6747, allocations: 0 / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.6752, allocations: 0.5237 MB / 1.024 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002138/0.6754, allocations: 165.9 kB / 1.024 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.6757, allocations: 0.6692 MB / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.905e-06/0.6757, allocations: 0 / 1.025 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.6757, allocations: 7.438 kB / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6757, allocations: 0 / 1.025 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of Templates: time 0.001685/0.6774, allocations: 164.9 kB / 1.025 GB, free: 9.523 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches