Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.001744/0.001744, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002076/0.002076, allocations: 217 kB / 22.26 MB, free: 5.117 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 8.016 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.412/3.412, allocations: 0.5096 GB / 0.8147 GB, free: 17.25 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.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [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.002095/0.002095, allocations: 70.16 kB / 1.184 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4495, allocations: 181.4 MB / 1.361 GB, free: 152 kB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002075/0.4516, allocations: 0.6121 MB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4534, allocations: 1.155 MB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.4535, allocations: 0 / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.556e-05/0.4535, allocations: 3.938 kB / 1.363 GB, free: 14.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.4536, allocations: 7.922 kB / 1.363 GB, free: 14.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.4541, allocations: 122.4 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.4543, allocations: 87.83 kB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.4544, allocations: 4 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.614e-05/0.4545, allocations: 35.91 kB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001161/0.4546, allocations: 35.89 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.4546, allocations: 8 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.371e-05/0.4547, allocations: 23.98 kB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.4547, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.849e-05/0.4548, allocations: 35.91 kB / 1.364 GB, free: 14.01 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.455, allocations: 87.72 kB / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.455, allocations: 0 / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.953e-06/0.455, allocations: 0 / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.455, allocations: 0 / 1.364 GB, free: 13.92 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005504/0.4555, allocations: 300 kB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4556, allocations: 8.031 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.4556, allocations: 4.938 kB / 1.364 GB, free: 13.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.4558, allocations: 114.4 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.4558, allocations: 4.375 kB / 1.364 GB, free: 13.44 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4558, allocations: 12.38 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.4559, allocations: 42.19 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4559, allocations: 192 / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4559, allocations: 3.938 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4559, allocations: 0 / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.456, allocations: 11.98 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.4564, allocations: 259.9 kB / 1.364 GB, free: 13.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.4565, allocations: 18.52 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.4565, allocations: 16.92 kB / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.4565, allocations: 0 / 1.364 GB, free: 13.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001307/0.4566, allocations: 55.39 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4566, allocations: 0 / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002139/0.4568, allocations: 69.56 kB / 1.364 GB, free: 12.88 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.4569, allocations: 51.41 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.457, allocations: 109.9 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.457, allocations: 33.69 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.4571, allocations: 80.14 kB / 1.365 GB, free: 12.58 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.4571, allocations: 7.953 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.4572, allocations: 33.64 kB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.4573, allocations: 314.8 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.4574, allocations: 27.98 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-05/0.4575, allocations: 50.55 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.4576, allocations: 88.38 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4576, allocations: 0 / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002572/0.4579, allocations: 151.3 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.426e-05/0.4579, allocations: 37.7 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.4579, allocations: 0 / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4579, allocations: 0 / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.895e-05/0.458, allocations: 8.094 kB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.458, allocations: 3.984 kB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.4582, allocations: 31.86 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.4582, allocations: 4 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001202/0.4583, allocations: 121.7 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.083e-05/0.4583, allocations: 4 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/0.4583, allocations: 3.688 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4583, allocations: 7.984 kB / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4584, allocations: 0 / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4584, allocations: 0 / 1.366 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.4585, allocations: 133 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4585, allocations: 0 / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.4585, allocations: 4 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.4585, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.4585, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4585, allocations: 7.938 kB / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4585, allocations: 0 / 1.366 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.4586, allocations: 85.05 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.4586, allocations: 3.953 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.4586, allocations: 4 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.326e-05/0.4587, allocations: 3.938 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.4587, allocations: 7.984 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.4587, allocations: 0 / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.218e-05/0.4587, allocations: 79.28 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4587, allocations: 4 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002149/0.459, allocations: 12 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001603/0.4591, allocations: 111.2 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002221/0.4593, allocations: 103.4 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4593, allocations: 0 / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.423e-05/0.4594, allocations: 11.94 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.4596, allocations: 13.98 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.4599, allocations: 127.3 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.4603, allocations: 0.6768 MB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.099e-05/0.4603, allocations: 4 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.823e-05/0.4604, allocations: 7.438 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.4604, allocations: 0 / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of Templates: time 0.004253/0.4646, allocations: 1.059 MB / 1.368 GB, free: 9.059 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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.637803964782506]