Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008393/0.008393, allocations: 100.7 kB / 15.73 MB, free: 6.027 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.001984/0.001984, allocations: 196.1 kB / 16.67 MB, free: 5.961 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.56/1.56, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.942/2.942, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.91 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4556, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0021/0.4578, allocations: 0.5437 MB / 1.167 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.965e-05/0.4579, allocations: 8 kB / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.4579, allocations: 0 / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.458, allocations: 0 / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.125e-05/0.458, allocations: 0 / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.549e-05/0.458, allocations: 0 / 1.167 GB, free: 6.242 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.4581, allocations: 3.984 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.815e-05/0.4582, allocations: 4 kB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.016e-05/0.4582, allocations: 3.984 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.078e-05/0.4582, allocations: 0 / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.4583, allocations: 0 / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.718e-06/0.4583, allocations: 3.938 kB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.4583, allocations: 4 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.4583, allocations: 4 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.4584, allocations: 7.938 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4584, allocations: 0 / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4584, allocations: 0 / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4584, allocations: 0 / 1.167 GB, free: 6.211 MB / 0.92 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.0003313/0.4588, allocations: 316.9 kB / 1.167 GB, free: 5.852 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4588, allocations: 8.031 kB / 1.167 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/0.4589, allocations: 0.9375 kB / 1.167 GB, free: 5.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.459, allocations: 168.3 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.459, allocations: 4.375 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.459, allocations: 4.375 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.4591, allocations: 26.27 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4592, allocations: 4.172 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.4592, allocations: 3.938 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4592, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.4592, allocations: 4 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.4596, allocations: 387.5 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.4597, allocations: 173 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.4598, allocations: 80.14 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.4598, allocations: 79.22 kB / 1.168 GB, free: 4.82 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.4599, allocations: 109.8 kB / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 3.066e-06/0.4599, allocations: 0 / 1.168 GB, free: 4.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001102/0.46, allocations: 38.02 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.4601, allocations: 126.7 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.914e-05/0.4602, allocations: 93.86 kB / 1.169 GB, free: 4.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.4602, allocations: 25.7 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.592e-05/0.4603, allocations: 84.12 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.4603, allocations: 0 / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.4603, allocations: 13.84 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4605, allocations: 314.8 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.4605, allocations: 8 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.4605, allocations: 0 / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.4605, allocations: 75.28 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.601e-05/0.4606, allocations: 75.28 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.71e-05/0.4606, allocations: 33.58 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.852e-05/0.4607, allocations: 85.31 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.281e-05/0.4607, allocations: 79.28 kB / 1.169 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.49e-05/0.4608, allocations: 154.5 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-05/0.4609, allocations: 79.27 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.69e-05/0.4609, allocations: 154.6 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.461, allocations: 83.22 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.4611, allocations: 75.28 kB / 1.17 GB, free: 3.074 MB / 0.92 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.0001773/0.4613, allocations: 268.3 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.4613, allocations: 104.9 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.237e-05/0.4614, allocations: 112.1 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.759e-05/0.4615, allocations: 176.3 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-05/0.4616, allocations: 188.2 kB / 1.171 GB, free: 2.203 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.518e-05/0.4617, allocations: 180.3 kB / 1.171 GB, free: 2.02 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.462, allocations: 405.1 kB / 1.171 GB, free: 1.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.434e-05/0.462, allocations: 105 kB / 1.171 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.4621, allocations: 105 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.805e-05/0.4622, allocations: 184.2 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.629e-05/0.4623, allocations: 180.2 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.028e-05/0.4623, allocations: 196.5 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.957e-05/0.4624, allocations: 176.3 kB / 1.172 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.4626, allocations: 311.7 kB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.4627, allocations: 182.1 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4628, allocations: 184.2 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.4629, allocations: 105 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.463, allocations: 184.2 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.4631, allocations: 101 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.4631, allocations: 87.2 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4631, allocations: 0 / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003227/0.4635, allocations: 4.094 kB / 1.173 GB, free: 15.39 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.0001816/0.4636, allocations: 170.5 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.786e-05/0.4637, allocations: 4 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4637, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-06/0.4637, allocations: 3.938 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.4641, allocations: 463.6 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.4644, allocations: 148.2 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.4647, allocations: 0.6768 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.057e-05/0.4647, allocations: 0 / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.4647, allocations: 7.438 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.4647, allocations: 0 / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of Templates: time 0.002205/0.467, allocations: 164.8 kB / 1.175 GB, free: 13.7 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches