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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 110.5 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.246/3.246, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 67.64 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3642, allocations: 180.2 MB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00175/0.3659, allocations: 0.5555 MB / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 3.804e-05/0.366, allocations: 0 / 1.355 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.918e-05/0.366, allocations: 4 kB / 1.355 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.032e-05/0.366, allocations: 0 / 1.355 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.36e-05/0.366, allocations: 0 / 1.355 GB, free: 7.391 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.388e-05/0.3661, allocations: 4 kB / 1.355 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.3661, allocations: 3.938 kB / 1.355 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.3662, allocations: 4 kB / 1.355 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.199e-05/0.3662, allocations: 0 / 1.355 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.886e-05/0.3662, allocations: 7.938 kB / 1.355 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.3662, allocations: 0 / 1.355 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-06/0.3662, allocations: 0 / 1.355 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.3663, allocations: 3.984 kB / 1.355 GB, free: 7.367 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 1.883e-05/0.3663, allocations: 4 kB / 1.355 GB, free: 7.363 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 6.294e-05/0.3663, allocations: 7.922 kB / 1.355 GB, free: 7.355 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3663, allocations: 0 / 1.355 GB, free: 7.355 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3663, allocations: 0 / 1.355 GB, free: 7.355 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3664, allocations: 4 kB / 1.355 GB, free: 7.352 MB / 1.045 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.0003188/0.3667, allocations: 236.6 kB / 1.355 GB, free: 7.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3667, allocations: 16.05 kB / 1.355 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.3667, allocations: 4.891 kB / 1.355 GB, free: 7.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3669, allocations: 102.5 kB / 1.355 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.3669, allocations: 4.375 kB / 1.355 GB, free: 6.941 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.3669, allocations: 4.375 kB / 1.355 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.431e-05/0.367, allocations: 26.27 kB / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.367, allocations: 192 / 1.355 GB, free: 6.906 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.367, allocations: 3.938 kB / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.367, allocations: 0 / 1.355 GB, free: 6.902 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.367, allocations: 7.938 kB / 1.355 GB, free: 6.895 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.3674, allocations: 354.6 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3675, allocations: 173.5 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.078e-05/0.3675, allocations: 80.14 kB / 1.356 GB, free: 6.242 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3675, allocations: 79.22 kB / 1.356 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.3676, allocations: 109.8 kB / 1.356 GB, free: 6.047 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3676, allocations: 4 kB / 1.356 GB, free: 6.043 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.985e-05/0.3677, allocations: 33.7 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.3678, allocations: 130.7 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.3679, allocations: 97.86 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3679, allocations: 25.7 kB / 1.356 GB, free: 5.727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.3679, allocations: 80.14 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3679, allocations: 0 / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.3679, allocations: 9.844 kB / 1.356 GB, free: 5.629 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3681, allocations: 314.8 kB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.749e-06/0.3681, allocations: 0 / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.335e-06/0.3681, allocations: 4 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.3682, allocations: 75.28 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.494e-05/0.3682, allocations: 79.22 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.682e-05/0.3682, allocations: 33.62 kB / 1.357 GB, free: 5.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.3683, allocations: 83.28 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.3683, allocations: 79.28 kB / 1.357 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.851e-05/0.3684, allocations: 162.4 kB / 1.357 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.189e-05/0.3685, allocations: 75.28 kB / 1.357 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.345e-05/0.3685, allocations: 158.5 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.3686, allocations: 75.28 kB / 1.357 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.3686, allocations: 79.28 kB / 1.357 GB, free: 4.414 MB / 1.045 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.0001591/0.3688, allocations: 280.2 kB / 1.358 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.79e-05/0.3689, allocations: 108.9 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.3689, allocations: 104.1 kB / 1.358 GB, free: 3.906 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.99e-05/0.369, allocations: 184.2 kB / 1.358 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.096e-05/0.3691, allocations: 180.3 kB / 1.358 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.999e-05/0.3692, allocations: 184.2 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.3695, allocations: 376.2 kB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.855e-05/0.3695, allocations: 109.5 kB / 1.359 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.3696, allocations: 108.9 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.122e-05/0.3697, allocations: 176.3 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/0.3698, allocations: 176.3 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.718e-05/0.3699, allocations: 188.5 kB / 1.359 GB, free: 2.152 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-05/0.3699, allocations: 180.3 kB / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.3701, allocations: 311.7 kB / 1.36 GB, free: 1.641 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.774e-05/0.3702, allocations: 105 kB / 1.36 GB, free: 1.531 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.3703, allocations: 188.2 kB / 1.36 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.3704, allocations: 101 kB / 1.36 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.3705, allocations: 184.2 kB / 1.36 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/0.3705, allocations: 101 kB / 1.361 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.3706, allocations: 83.22 kB / 1.361 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3706, allocations: 0 / 1.361 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002665/0.3708, allocations: 0 / 1.361 GB, free: 0.8594 MB / 1.045 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.0002067/0.371, allocations: 178.6 kB / 1.361 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 5.45e-05/0.3711, allocations: 3.938 kB / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3711, allocations: 0 / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.3711, allocations: 0 / 1.361 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.3715, allocations: 459.6 kB / 1.361 GB, free: 220 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3718, allocations: 184.9 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3722, allocations: 0.669 MB / 1.362 GB, free: 15.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.3722, allocations: 7.438 kB / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3722, allocations: 0 / 1.362 GB, free: 15.3 MB / 1.061 GB Notification: Performance of Templates: time 0.001619/0.3738, allocations: 327.8 kB / 1.362 GB, free: 14.98 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.33132504299283]