Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_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.006213/0.006213, allocations: 102 kB / 15.73 MB, free: 6.062 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.001163/0.001163, allocations: 195 kB / 16.68 MB, free: 5.973 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.878/2.878, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 64.12 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3699, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001861/0.3718, allocations: 0.5361 MB / 1.221 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 4.9e-05/0.3719, allocations: 3.938 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.3719, allocations: 0 / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.3719, allocations: 3.938 kB / 1.221 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.894e-05/0.372, allocations: 4 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.833e-05/0.372, allocations: 0 / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.199e-05/0.3721, allocations: 8 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.135e-05/0.3721, allocations: 7.969 kB / 1.221 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.826e-05/0.3722, allocations: 4 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.168e-05/0.3722, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.3722, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-06/0.3722, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.961e-05/0.3722, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.3722, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.092e-05/0.3723, allocations: 3.938 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3723, allocations: 0 / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3723, allocations: 4 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.3723, allocations: 4 kB / 1.221 GB, free: 13.24 MB / 0.9825 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.0004062/0.3728, allocations: 319.6 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3728, allocations: 12.06 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.3728, allocations: 0.9375 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.3729, allocations: 160.4 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.373, allocations: 4.312 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-06/0.373, allocations: 4.312 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.254e-05/0.3731, allocations: 30.27 kB / 1.222 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3731, allocations: 4.188 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3731, allocations: 3.938 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3731, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.519e-05/0.3731, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.3734, allocations: 379.5 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.243e-05/0.3735, allocations: 181 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.941e-05/0.3736, allocations: 84.14 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.3736, allocations: 79.27 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.3736, allocations: 105.8 kB / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3736, allocations: 0 / 1.222 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.325e-05/0.3737, allocations: 31.48 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.3738, allocations: 126.7 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.3739, allocations: 101.9 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.3739, allocations: 25.7 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.3739, allocations: 80.14 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/0.3739, allocations: 4 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/0.3739, allocations: 9.719 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.374, allocations: 314.8 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/0.3741, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.925e-06/0.3741, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.3741, allocations: 79.41 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/0.3741, allocations: 79.22 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.228e-05/0.3742, allocations: 33.64 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.3742, allocations: 79.28 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.3742, allocations: 91.2 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.097e-05/0.3743, allocations: 150.6 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.3743, allocations: 79.22 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.671e-05/0.3744, allocations: 158.5 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.3745, allocations: 79.28 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.3745, allocations: 79.22 kB / 1.224 GB, free: 10.1 MB / 0.9825 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.0001059/0.3746, allocations: 264.3 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3746, allocations: 101 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.3747, allocations: 116 kB / 1.224 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/0.3747, allocations: 180.2 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.995e-05/0.3748, allocations: 188.2 kB / 1.225 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.128e-05/0.3749, allocations: 180.3 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.3751, allocations: 405.2 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/0.3751, allocations: 109.2 kB / 1.225 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.3752, allocations: 105 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-05/0.3752, allocations: 188.2 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.3753, allocations: 180.2 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.85e-05/0.3754, allocations: 184.2 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-05/0.3754, allocations: 180.2 kB / 1.226 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3755, allocations: 307.7 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.3756, allocations: 194 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.3756, allocations: 176.3 kB / 1.227 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.3757, allocations: 104.9 kB / 1.227 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3758, allocations: 180.3 kB / 1.227 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.3758, allocations: 108.9 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.857e-05/0.3758, allocations: 79.28 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3758, allocations: 0 / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002508/0.3761, allocations: 0 / 1.227 GB, free: 6.426 MB / 0.9825 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.000151/0.3762, allocations: 182.5 kB / 1.228 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 4.567e-05/0.3763, allocations: 4 kB / 1.228 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3763, allocations: 4.094 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.3763, allocations: 0 / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003496/0.3766, allocations: 461.7 kB / 1.228 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.3769, allocations: 168 kB / 1.228 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3771, allocations: 0.6729 MB / 1.229 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.415e-06/0.3771, allocations: 4 kB / 1.229 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.3771, allocations: 7.438 kB / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.3771, allocations: 0 / 1.229 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of Templates: time 0.001877/0.379, allocations: 156.7 kB / 1.229 GB, free: 4.719 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches