Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000798/0.000798, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008063/0.0008063, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.867/0.867, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.604/1.604, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.858e-05, allocations: 6.219 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0009754/0.0009939, allocations: 0.5625 MB / 0.9523 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 3.265e-05/0.001027, allocations: 0 / 0.9523 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.187e-05/0.001048, allocations: 4 kB / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.304e-05/0.001072, allocations: 0 / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.189e-05/0.001093, allocations: 0 / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 2.691e-05/0.00112, allocations: 0 / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.844e-05/0.001169, allocations: 0 / 0.9523 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.001212, allocations: 7.984 kB / 0.9523 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.541e-05/0.001237, allocations: 4 kB / 0.9523 GB, free: 2.391 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 1.668e-05/0.001254, allocations: 7.938 kB / 0.9523 GB, free: 2.383 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.001274, allocations: 7.922 kB / 0.9523 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-06/0.001277, allocations: 0 / 0.9523 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.001289, allocations: 0 / 0.9523 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.001304, allocations: 0 / 0.9523 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 4.916e-05/0.001353, allocations: 7.938 kB / 0.9523 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.001354, allocations: 0 / 0.9523 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.71e-07/0.001355, allocations: 0 / 0.9523 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.001358, allocations: 0 / 0.9523 GB, free: 2.367 MB / 0.9011 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.0002211/0.001579, allocations: 246.4 kB / 0.9526 GB, free: 2.094 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.001611, allocations: 8.031 kB / 0.9526 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.001633, allocations: 0.9375 kB / 0.9526 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.965e-05/0.001703, allocations: 109.8 kB / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.001712, allocations: 384 / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.001719, allocations: 384 / 0.9527 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.709e-05/0.001786, allocations: 30.27 kB / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.001792, allocations: 192 / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.0018, allocations: 384 / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.001804, allocations: 384 / 0.9527 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.324e-05/0.001817, allocations: 7.938 kB / 0.9527 GB, free: 1.91 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.002034, allocations: 335.1 kB / 0.953 GB, free: 1.551 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.694e-05/0.002091, allocations: 169.2 kB / 0.9532 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.002113, allocations: 80.14 kB / 0.9533 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.002133, allocations: 75.28 kB / 0.9533 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.002162, allocations: 105.8 kB / 0.9534 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=0): time 5.71e-07/0.002163, allocations: 0 / 0.9534 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of matching and sorting (n=0): time 4.986e-05/0.002212, allocations: 37.58 kB / 0.9535 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.002253, allocations: 134.6 kB / 0.9536 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.375e-05/0.002307, allocations: 93.94 kB / 0.9537 GB, free: 0.8164 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.002314, allocations: 29.73 kB / 0.9537 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.002342, allocations: 84.14 kB / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/0.002343, allocations: 0 / 0.9538 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.00236, allocations: 9.719 kB / 0.9538 GB, free: 0.6797 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.002424, allocations: 310.8 kB / 0.9541 GB, free: 376 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-06/0.002428, allocations: 0 / 0.9541 GB, free: 376 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-06/0.002432, allocations: 4 kB / 0.9541 GB, free: 372 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.724e-05/0.002449, allocations: 75.28 kB / 0.9542 GB, free: 296 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.002465, allocations: 79.28 kB / 0.9543 GB, free: 216 kB / 0.9011 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.136e-05/0.002496, allocations: 33.64 kB / 0.9543 GB, free: 176 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.002523, allocations: 87.27 kB / 0.9544 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/0.002541, allocations: 83.22 kB / 0.9545 GB, free: 4 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.105e-05/0.002592, allocations: 154.5 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.646e-05/0.002608, allocations: 79.28 kB / 0.9547 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-05/0.002639, allocations: 155.1 kB / 0.9548 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.002679, allocations: 79.22 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.002695, allocations: 79.28 kB / 0.955 GB, free: 15.46 MB / 0.9167 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 7.153e-05/0.002767, allocations: 260.4 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.002801, allocations: 108.9 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.385e-05/0.002835, allocations: 116 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/0.002871, allocations: 180.5 kB / 0.9556 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.963e-05/0.002911, allocations: 180.2 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/0.002952, allocations: 184.3 kB / 0.956 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.00307, allocations: 356.8 kB / 0.9563 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.003091, allocations: 105 kB / 0.9564 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.003118, allocations: 101 kB / 0.9565 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002966/0.003414, allocations: 180.2 kB / 0.9567 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.003458, allocations: 184.2 kB / 0.9568 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-05/0.003502, allocations: 188.1 kB / 0.957 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.095e-05/0.003543, allocations: 176.3 kB / 0.9572 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.341e-05/0.003637, allocations: 307.8 kB / 0.9575 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.003667, allocations: 109 kB / 0.9576 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/0.003718, allocations: 184.2 kB / 0.9578 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.003764, allocations: 112.9 kB / 0.9579 GB, free: 12.33 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.003811, allocations: 184.1 kB / 0.9581 GB, free: 12.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.003839, allocations: 105 kB / 0.9582 GB, free: 12.03 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.782e-05/0.003866, allocations: 79.28 kB / 0.9582 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003866, allocations: 0 / 0.9582 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001692/0.004036, allocations: 0 / 0.9582 GB, free: 11.95 MB / 0.9167 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.0001041/0.00414, allocations: 170.6 kB / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 4.247e-05/0.004182, allocations: 4 kB / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.004184, allocations: 0 / 0.9584 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.965e-06/0.004187, allocations: 7.938 kB / 0.9584 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.004451, allocations: 455.7 kB / 0.9588 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.004673, allocations: 189.8 kB / 0.959 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.22e-05/0.004715, allocations: 51.36 kB / 0.9591 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.004728, allocations: 8.5 kB / 0.9591 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of SimCode: time 6.81e-07/0.004729, allocations: 0 / 0.9591 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.001134/0.005863, allocations: 316 kB / 0.9594 GB, free: 10.71 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.077396281063557]