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.001381/0.001382, allocations: 103.3 kB / 16.4 MB, free: 6.465 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.00156/0.00156, 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.269/2.269, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001174, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.747, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001447/0.7485, allocations: 0.5538 MB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 3.605e-05/0.7485, allocations: 4 kB / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.7486, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.551e-05/0.7486, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.373e-05/0.7486, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 2.708e-05/0.7487, allocations: 0 / 1.168 GB, free: 3.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.234e-05/0.7487, allocations: 3.984 kB / 1.168 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.7488, allocations: 4 kB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.7488, allocations: 7.938 kB / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.7488, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.7488, allocations: 0 / 1.168 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.316e-06/0.7488, allocations: 3.938 kB / 1.168 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.7488, allocations: 4 kB / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.7489, allocations: 0 / 1.168 GB, free: 3.25 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 5.61e-05/0.7489, allocations: 7.984 kB / 1.168 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7489, allocations: 3.938 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7489, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7489, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 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.0002491/0.7492, allocations: 315.5 kB / 1.168 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.7492, allocations: 8.922 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.7493, allocations: 4.875 kB / 1.168 GB, free: 2.867 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.863e-05/0.7494, allocations: 168.4 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.7494, allocations: 4.375 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.7494, allocations: 384 / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.936e-05/0.7495, allocations: 26.27 kB / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.7495, allocations: 192 / 1.168 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.7495, allocations: 3.938 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.7495, allocations: 4 kB / 1.168 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.7495, allocations: 7.938 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.7498, allocations: 379.5 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.618e-05/0.7499, allocations: 169.1 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.512e-05/0.7499, allocations: 80.14 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.7499, allocations: 79.28 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.7499, allocations: 113.8 kB / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.75, allocations: 0 / 1.169 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 5.745e-05/0.75, allocations: 29.7 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.7501, allocations: 130.7 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.7501, allocations: 93.86 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.7502, allocations: 29.83 kB / 1.169 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.41e-05/0.7502, allocations: 80.14 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.7502, allocations: 0 / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.7502, allocations: 9.719 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.7503, allocations: 314.8 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.7503, allocations: 0 / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-06/0.7503, allocations: 4 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.465e-05/0.7504, allocations: 75.28 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/0.7504, allocations: 79.28 kB / 1.17 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.881e-05/0.7504, allocations: 40.02 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.7505, allocations: 83.28 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.7505, allocations: 75.31 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-05/0.7506, allocations: 158.5 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.968e-05/0.7506, allocations: 75.28 kB / 1.17 GB, free: 432 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/0.7506, allocations: 158.6 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.7507, allocations: 83.22 kB / 1.171 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.7507, allocations: 79.28 kB / 1.171 GB, free: 108 kB / 0.8887 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.0001003/0.7508, allocations: 268.3 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.604e-05/0.7509, allocations: 108.9 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.7509, allocations: 108 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/0.751, allocations: 188.2 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-05/0.751, allocations: 180.3 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.516e-05/0.7511, allocations: 180.2 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.7512, allocations: 401.1 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.7513, allocations: 105 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.7513, allocations: 112.9 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.897e-05/0.7514, allocations: 180.3 kB / 1.172 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.7514, allocations: 176.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-05/0.7515, allocations: 184.2 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.433e-05/0.7515, allocations: 180.3 kB / 1.173 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.7516, allocations: 316.1 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.7517, allocations: 182.1 kB / 1.173 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.7518, allocations: 180.2 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.7518, allocations: 113 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.7519, allocations: 184.2 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.7519, allocations: 101 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.916e-05/0.7519, allocations: 83.28 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.752, allocations: 0 / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002248/0.7522, allocations: 0 / 1.174 GB, free: 12.42 MB / 0.9044 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.0001136/0.7523, allocations: 170.5 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 3.797e-05/0.7523, allocations: 0 / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7524, allocations: 4 kB / 1.174 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.7524, allocations: 4.031 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.7527, allocations: 467.6 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001827/0.7529, allocations: 173.9 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.7531, allocations: 0.6729 MB / 1.176 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.336e-05/0.7531, allocations: 7.438 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of SimCode: time 1.8e-07/0.7531, allocations: 0 / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.001286/0.7544, allocations: 323.9 kB / 1.176 GB, free: 10.55 MB / 0.9044 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/jenkins1/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