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.001318/0.001318, allocations: 75.75 kB / 19.76 MB, free: 2.023 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.002168/0.002168, allocations: 154.2 kB / 23 MB, free: 4.953 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.572/1.572, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.969/2.969, allocations: 394.2 MB / 0.6387 GB, free: 11.92 MB / 0.6075 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.002173/0.002173, allocations: 67.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001601/1.069, allocations: 0.5517 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 3.399e-05/1.069, allocations: 11.94 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.878e-05/1.069, allocations: 0 / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.428e-05/1.069, allocations: 0.75 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 2.77e-05/1.069, allocations: 1.594 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.089e-05/1.069, allocations: 0 / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.52e-05/1.069, allocations: 1.469 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/1.069, allocations: 2.922 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.226e-05/1.069, allocations: 3.938 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 1.803e-05/1.069, allocations: 0 / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/1.069, allocations: 1.375 kB / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.216e-06/1.069, allocations: 0 / 1.187 GB, free: 15.81 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/1.069, allocations: 4 kB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/1.069, allocations: 1.344 kB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 5.565e-05/1.069, allocations: 11.28 kB / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/1.069, allocations: 0 / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.303e-06/1.069, allocations: 0 / 1.187 GB, free: 15.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.069, allocations: 0 / 1.187 GB, free: 15.8 MB / 1.076 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.000221/1.069, allocations: 241.4 kB / 1.187 GB, free: 15.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/1.069, allocations: 12.56 kB / 1.187 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.614e-05/1.069, allocations: 2.562 kB / 1.187 GB, free: 15.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.123e-05/1.069, allocations: 105 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/1.069, allocations: 384 / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.282e-06/1.069, allocations: 5.031 kB / 1.188 GB, free: 15.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.647e-05/1.069, allocations: 33.59 kB / 1.188 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.069, allocations: 192 / 1.188 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/1.069, allocations: 3.938 kB / 1.188 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/1.069, allocations: 1.375 kB / 1.188 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.362e-05/1.069, allocations: 1.734 kB / 1.188 GB, free: 15.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/1.07, allocations: 336.8 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 4.63e-05/1.07, allocations: 168 kB / 1.188 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/1.07, allocations: 80.14 kB / 1.188 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/1.07, allocations: 80.25 kB / 1.188 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/1.07, allocations: 112.8 kB / 1.188 GB, free: 14.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/1.07, allocations: 0 / 1.188 GB, free: 14.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.073e-05/1.07, allocations: 31.44 kB / 1.188 GB, free: 14.53 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/1.07, allocations: 127.6 kB / 1.188 GB, free: 14.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/1.07, allocations: 96.47 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/1.07, allocations: 25.7 kB / 1.189 GB, free: 14.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/1.07, allocations: 86 kB / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-06/1.07, allocations: 0 / 1.189 GB, free: 14.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/1.07, allocations: 11.75 kB / 1.189 GB, free: 14.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.621e-05/1.07, allocations: 313.3 kB / 1.189 GB, free: 13.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.247e-06/1.07, allocations: 4 kB / 1.189 GB, free: 13.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.715e-06/1.07, allocations: 0 / 1.189 GB, free: 13.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.113e-05/1.07, allocations: 76.91 kB / 1.189 GB, free: 13.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.07, allocations: 75.28 kB / 1.189 GB, free: 13.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.591e-05/1.07, allocations: 40.48 kB / 1.189 GB, free: 13.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.07, allocations: 82.84 kB / 1.189 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.07, allocations: 79.84 kB / 1.189 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.07, allocations: 153 kB / 1.189 GB, free: 13.35 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.016e-05/1.07, allocations: 81.14 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/1.07, allocations: 152.6 kB / 1.19 GB, free: 13.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/1.07, allocations: 84.88 kB / 1.19 GB, free: 13.04 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/1.07, allocations: 77.67 kB / 1.19 GB, free: 12.96 MB / 1.076 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 4.937e-05/1.07, allocations: 266.5 kB / 1.19 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.663e-05/1.07, allocations: 115.1 kB / 1.19 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/1.07, allocations: 106.9 kB / 1.19 GB, free: 12.47 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.07, allocations: 176.9 kB / 1.19 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/1.07, allocations: 183 kB / 1.191 GB, free: 12.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.07, allocations: 178.4 kB / 1.191 GB, free: 11.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.07, allocations: 363.1 kB / 1.191 GB, free: 11.54 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/1.07, allocations: 101.7 kB / 1.191 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.264e-05/1.07, allocations: 107.1 kB / 1.191 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-05/1.07, allocations: 186.2 kB / 1.192 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/1.071, allocations: 181.9 kB / 1.192 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.391e-05/1.071, allocations: 182.6 kB / 1.192 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.513e-05/1.071, allocations: 182.1 kB / 1.192 GB, free: 10.59 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.394e-05/1.071, allocations: 303.6 kB / 1.192 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.063e-05/1.071, allocations: 111.8 kB / 1.192 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.092e-05/1.071, allocations: 182.5 kB / 1.193 GB, free: 9.977 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.935e-05/1.071, allocations: 107.1 kB / 1.193 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/1.071, allocations: 178.3 kB / 1.193 GB, free: 9.688 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/1.071, allocations: 107 kB / 1.193 GB, free: 9.578 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.636e-05/1.071, allocations: 80.59 kB / 1.193 GB, free: 9.5 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.071, allocations: 0 / 1.193 GB, free: 9.5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002533/1.071, allocations: 1.156 kB / 1.193 GB, free: 9.5 MB / 1.076 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 8.32e-05/1.071, allocations: 170.2 kB / 1.193 GB, free: 9.336 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 3.877e-05/1.071, allocations: 5.281 kB / 1.193 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.071, allocations: 0 / 1.193 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/1.071, allocations: 0.7031 kB / 1.193 GB, free: 9.332 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/1.071, allocations: 463.3 kB / 1.194 GB, free: 8.879 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/1.072, allocations: 155.1 kB / 1.194 GB, free: 8.711 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.719e-05/1.072, allocations: 59.03 kB / 1.194 GB, free: 8.637 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.264e-06/1.072, allocations: 0.7031 kB / 1.194 GB, free: 8.637 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-06/1.072, allocations: 8.5 kB / 1.194 GB, free: 8.629 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.072, allocations: 1.25 kB / 1.194 GB, free: 8.629 MB / 1.076 GB Notification: Performance of Templates: time 0.00218/1.074, allocations: 145.4 kB / 1.194 GB, free: 8.57 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 9.394463891047053]