Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_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.001109/0.001109, allocations: 106.6 kB / 16.41 MB, free: 6.469 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.001173/0.001173, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.469/2.469, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.7678, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001805/0.7696, allocations: 0.5533 MB / 1.209 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.377e-05/0.7697, allocations: 4 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.7697, allocations: 0 / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.7698, allocations: 4 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.162e-05/0.7698, allocations: 3.938 kB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.587e-05/0.7699, allocations: 3.938 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.089e-05/0.7699, allocations: 3.984 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.461e-05/0.77, allocations: 0 / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.461e-05/0.77, allocations: 4 kB / 1.209 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 1.624e-05/0.77, allocations: 4 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.77, allocations: 0 / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-06/0.77, allocations: 0 / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.7701, allocations: 0 / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.7701, allocations: 4 kB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.237e-05/0.7701, allocations: 3.938 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.7702, allocations: 4 kB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7702, allocations: 0 / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.7702, allocations: 0 / 1.209 GB, free: 13.02 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.0002739/0.7705, allocations: 311.5 kB / 1.209 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.7705, allocations: 16.06 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.325e-05/0.7705, allocations: 0.9375 kB / 1.209 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.7706, allocations: 160.4 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.7707, allocations: 384 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.7707, allocations: 384 / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.7708, allocations: 38.2 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7708, allocations: 192 / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.7708, allocations: 7.922 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.7708, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.7708, allocations: 4 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.7712, allocations: 379.5 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.918e-05/0.7713, allocations: 177 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.7713, allocations: 84.12 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.7713, allocations: 79.28 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7714, allocations: 105.8 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.7714, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.473e-05/0.7715, allocations: 33.64 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.7715, allocations: 130.7 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.7716, allocations: 89.86 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.7716, allocations: 25.7 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.7716, allocations: 96.23 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-06/0.7717, allocations: 0 / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.7717, allocations: 13.66 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.3e-05/0.7718, allocations: 314.8 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.7718, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-06/0.7718, allocations: 0 / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.7718, allocations: 75.28 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-05/0.7719, allocations: 79.28 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.519e-05/0.7719, allocations: 37.55 kB / 1.211 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.772, allocations: 83.22 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.772, allocations: 83.25 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.287e-05/0.772, allocations: 154.6 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.367e-05/0.7721, allocations: 79.27 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.497e-05/0.7721, allocations: 154.5 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.825e-05/0.7722, allocations: 87.28 kB / 1.212 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.7722, allocations: 79.22 kB / 1.212 GB, free: 9.867 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 9.464e-05/0.7723, allocations: 260.3 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.198e-05/0.7724, allocations: 105 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.298e-05/0.7724, allocations: 108.1 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/0.7725, allocations: 180.2 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-05/0.7725, allocations: 184.3 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.714e-05/0.7726, allocations: 184.2 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.7728, allocations: 405.2 kB / 1.213 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.7728, allocations: 101 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-05/0.7729, allocations: 104.9 kB / 1.213 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.338e-05/0.7729, allocations: 188.3 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.016e-05/0.773, allocations: 184.2 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.359e-05/0.773, allocations: 176.3 kB / 1.214 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-05/0.7731, allocations: 184.2 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.7732, allocations: 308.1 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.7733, allocations: 190 kB / 1.215 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.7734, allocations: 176.3 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.7734, allocations: 108.9 kB / 1.215 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.7735, allocations: 176.3 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/0.7735, allocations: 109 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.752e-05/0.7736, allocations: 83.27 kB / 1.215 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7736, allocations: 0 / 1.215 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002383/0.7738, allocations: 0 / 1.215 GB, free: 6.203 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.0001737/0.774, allocations: 182.4 kB / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.482e-05/0.7741, allocations: 0 / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.7741, allocations: 0 / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.7741, allocations: 0 / 1.215 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.7745, allocations: 467.7 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002187/0.7747, allocations: 173.9 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.7749, allocations: 0.6729 MB / 1.217 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.7749, allocations: 11.38 kB / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.7749, allocations: 0 / 1.217 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.00147/0.7764, allocations: 331.3 kB / 1.217 GB, free: 4.32 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches