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.01368/0.01368, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.002783/0.002783, allocations: 194 kB / 16.67 MB, free: 5.969 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.65/1.65, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.015/3.015, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.91 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4316, allocations: 157.4 MB / 1.208 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001917/0.4336, allocations: 0.5399 MB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 4.319e-05/0.4336, allocations: 12 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.4337, allocations: 0 / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.4337, allocations: 0 / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.64e-05/0.4337, allocations: 0 / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.464e-05/0.4338, allocations: 0 / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.794e-05/0.4339, allocations: 3.938 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.786e-05/0.434, allocations: 11.92 kB / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.434, allocations: 0 / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.091e-05/0.434, allocations: 0 / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.434, allocations: 0 / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-06/0.434, allocations: 0 / 1.208 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.4341, allocations: 4 kB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.4341, allocations: 4 kB / 1.208 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.413e-05/0.4342, allocations: 11.92 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4342, allocations: 0 / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.046e-06/0.4342, allocations: 0 / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.4342, allocations: 0 / 1.208 GB, free: 8.977 MB / 0.9669 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.0004669/0.4347, allocations: 315.6 kB / 1.209 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.4347, allocations: 8.625 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.4348, allocations: 0.9375 kB / 1.209 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.435, allocations: 160.4 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.435, allocations: 4.375 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.435, allocations: 4.375 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.4351, allocations: 30.27 kB / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4352, allocations: 192 / 1.209 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4352, allocations: 3.938 kB / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4352, allocations: 0 / 1.209 GB, free: 8.367 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.311e-05/0.4352, allocations: 7.938 kB / 1.209 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.4356, allocations: 387.5 kB / 1.209 GB, free: 7.93 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.4358, allocations: 169.1 kB / 1.209 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.114e-05/0.4358, allocations: 80.14 kB / 1.209 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.4358, allocations: 79.27 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.711e-05/0.4359, allocations: 113.8 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.4359, allocations: 4 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.969e-05/0.436, allocations: 29.7 kB / 1.21 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.475e-05/0.4361, allocations: 130.7 kB / 1.21 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.939e-05/0.4362, allocations: 93.86 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.4363, allocations: 25.7 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.4363, allocations: 84.08 kB / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.4363, allocations: 0 / 1.21 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.4364, allocations: 13.84 kB / 1.21 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4365, allocations: 318.8 kB / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-06/0.4365, allocations: 0 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.118e-06/0.4365, allocations: 0 / 1.21 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.4366, allocations: 83.22 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.765e-05/0.4366, allocations: 75.28 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.406e-05/0.4367, allocations: 29.64 kB / 1.21 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.4368, allocations: 85 kB / 1.211 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.213e-05/0.4368, allocations: 83.22 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-05/0.4369, allocations: 154.5 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-05/0.4369, allocations: 75.28 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-05/0.437, allocations: 162.5 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.4371, allocations: 75.28 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4371, allocations: 79.28 kB / 1.211 GB, free: 5.84 MB / 0.9669 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.0001407/0.4373, allocations: 264.3 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.86e-05/0.4373, allocations: 108.9 kB / 1.212 GB, free: 5.457 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.4374, allocations: 104.1 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.785e-05/0.4375, allocations: 184.7 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.583e-05/0.4375, allocations: 188.3 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.431e-05/0.4376, allocations: 180.3 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.4379, allocations: 405.1 kB / 1.213 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/0.4379, allocations: 101.3 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.453e-05/0.438, allocations: 112.9 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/0.4381, allocations: 184.3 kB / 1.213 GB, free: 3.926 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.4381, allocations: 176.3 kB / 1.213 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.965e-05/0.4382, allocations: 188.2 kB / 1.213 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-05/0.4383, allocations: 180.3 kB / 1.213 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.4384, allocations: 307.7 kB / 1.214 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.4385, allocations: 182.1 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.196e-05/0.4386, allocations: 184.2 kB / 1.214 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.4387, allocations: 101 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.4388, allocations: 184.2 kB / 1.214 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.413e-05/0.4389, allocations: 105 kB / 1.214 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.4389, allocations: 75.28 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4389, allocations: 4 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002599/0.4392, allocations: 0 / 1.215 GB, free: 2.176 MB / 0.9669 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.0001974/0.4394, allocations: 178.6 kB / 1.215 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.076e-05/0.4395, allocations: 7.938 kB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4395, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.4395, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.4399, allocations: 467.6 kB / 1.215 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4402, allocations: 166.5 kB / 1.215 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.4405, allocations: 0.6729 MB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.293e-05/0.4405, allocations: 3.938 kB / 1.216 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.4405, allocations: 7.438 kB / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.4406, allocations: 0 / 1.216 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of Templates: time 0.002089/0.4426, allocations: 168.9 kB / 1.216 GB, free: 472 kB / 0.9669 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/jenkins/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