Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001512/0.001513, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.923/2.923, allocations: 469.8 MB / 0.742 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 71.09 kB / 0.9081 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3664, allocations: 159.1 MB / 1.063 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001979/0.3684, allocations: 0.6072 MB / 1.064 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 3.524e-05/0.3685, allocations: 7.938 kB / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.3685, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.3686, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.184e-05/0.3686, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.234e-05/0.3686, allocations: 0 / 1.064 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.941e-05/0.3687, allocations: 7.984 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.3688, allocations: 4 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.556e-05/0.3688, allocations: 3.938 kB / 1.064 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.996e-05/0.3688, allocations: 4 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3688, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.3688, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.3688, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3689, allocations: 0 / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.103e-05/0.3689, allocations: 11.92 kB / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3689, allocations: 0 / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.369, allocations: 0 / 1.064 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.369, allocations: 0 / 1.064 GB, free: 13.94 MB / 0.8262 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.0003763/0.3693, allocations: 319.6 kB / 1.064 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3694, allocations: 12.03 kB / 1.064 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.3694, allocations: 0.9375 kB / 1.064 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3696, allocations: 160.4 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3696, allocations: 384 / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3696, allocations: 4.375 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.897e-05/0.3697, allocations: 26.27 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.3697, allocations: 192 / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3697, allocations: 7.922 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3697, allocations: 0 / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.3698, allocations: 11.94 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.3702, allocations: 379.6 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3703, allocations: 173.1 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.3703, allocations: 84.14 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.3704, allocations: 79.28 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.862e-05/0.3705, allocations: 109.8 kB / 1.065 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3705, allocations: 0 / 1.065 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.175e-05/0.3705, allocations: 29.73 kB / 1.065 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/0.3706, allocations: 134.6 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3707, allocations: 93.86 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.3708, allocations: 25.7 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.3708, allocations: 88.27 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.3708, allocations: 0 / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.3709, allocations: 13.7 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.371, allocations: 310.8 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-06/0.371, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-06/0.3711, allocations: 0 / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.686e-05/0.3711, allocations: 83.22 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.564e-05/0.3711, allocations: 79.22 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.522e-05/0.3712, allocations: 35.48 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.3713, allocations: 84.84 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-05/0.3713, allocations: 75.28 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.485e-05/0.3714, allocations: 154.5 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.3714, allocations: 83.27 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.64e-05/0.3715, allocations: 158.5 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.3716, allocations: 79.28 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.3717, allocations: 75.28 kB / 1.067 GB, free: 10.8 MB / 0.8262 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.0001727/0.3718, allocations: 260.3 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.768e-05/0.3719, allocations: 108.9 kB / 1.067 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.41e-05/0.372, allocations: 116.1 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001101/0.3721, allocations: 180.2 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.823e-05/0.3722, allocations: 180.3 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.902e-05/0.3723, allocations: 180.3 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.3725, allocations: 409.1 kB / 1.068 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/0.3726, allocations: 101 kB / 1.068 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.3727, allocations: 112.9 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.237e-05/0.3727, allocations: 180.6 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-05/0.3728, allocations: 176.3 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.561e-05/0.3729, allocations: 184.2 kB / 1.069 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.965e-05/0.373, allocations: 184.3 kB / 1.069 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.3732, allocations: 315.6 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.3733, allocations: 182.1 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.3734, allocations: 184.2 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.224e-05/0.3735, allocations: 101 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.3736, allocations: 184.2 kB / 1.07 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.3736, allocations: 105 kB / 1.07 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.3737, allocations: 83.27 kB / 1.07 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3737, allocations: 4 kB / 1.07 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002492/0.3739, allocations: 0 / 1.07 GB, free: 7.125 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 (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.0001669/0.3741, allocations: 170.5 kB / 1.07 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.248e-05/0.3742, allocations: 3.938 kB / 1.07 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3742, allocations: 3.938 kB / 1.07 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.3742, allocations: 8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3746, allocations: 470.4 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002317/0.3749, allocations: 144.4 kB / 1.071 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3752, allocations: 0.6768 MB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.703e-06/0.3752, allocations: 0 / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.3752, allocations: 7.438 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3752, allocations: 0 / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of Templates: time 0.0022/0.3774, allocations: 168.9 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches