Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001087/0.001087, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001232/0.002319, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007467/0.0007467, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009537/0.0017, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.072/1.072, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08676/1.159, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.811/1.811, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5243/2.335, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.613e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001114/0.00113, allocations: 0.6571 MB / 0.7303 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002178, allocations: 1.162 MB / 0.7314 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.002215, allocations: 4.562 kB / 0.7314 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.002236, allocations: 0 / 0.7314 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.657e-05/0.002272, allocations: 9.344 kB / 0.7315 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.002554, allocations: 119.6 kB / 0.7316 GB, free: 2.465 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.002716, allocations: 91.27 kB / 0.7317 GB, free: 2.383 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.002778, allocations: 8 kB / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.304e-05/0.002861, allocations: 45.83 kB / 0.7317 GB, free: 2.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.002943, allocations: 28.7 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.002963, allocations: 9.156 kB / 0.7317 GB, free: 2.297 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.889e-05/0.003032, allocations: 23.98 kB / 0.7318 GB, free: 2.273 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.926e-05/0.003051, allocations: 6.281 kB / 0.7318 GB, free: 2.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.003084, allocations: 17.58 kB / 0.7318 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.003201, allocations: 54.12 kB / 0.7318 GB, free: 2.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-05/0.003215, allocations: 5.719 kB / 0.7318 GB, free: 2.199 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003216, allocations: 0 / 0.7318 GB, free: 2.199 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.00323, allocations: 0 / 0.7318 GB, free: 2.199 MB / 0.698 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.0004421/0.003672, allocations: 278.2 kB / 0.7321 GB, free: 1.895 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.003704, allocations: 12.78 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.003739, allocations: 5.438 kB / 0.7321 GB, free: 1.879 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.195e-05/0.003821, allocations: 115.3 kB / 0.7322 GB, free: 1.742 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003833, allocations: 8.375 kB / 0.7322 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.003848, allocations: 4.375 kB / 0.7323 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.221e-05/0.00391, allocations: 34.25 kB / 0.7323 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.003917, allocations: 4.922 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.003924, allocations: 0.9219 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.00393, allocations: 1.344 kB / 0.7323 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.003947, allocations: 7.938 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002108/0.004158, allocations: 160.3 kB / 0.7325 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.39e-05/0.004192, allocations: 19.67 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.873e-06/0.004199, allocations: 5.734 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-06/0.004201, allocations: 0.9062 kB / 0.7325 GB, free: 1.473 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.392e-05/0.004285, allocations: 63.38 kB / 0.7325 GB, free: 1.398 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.004287, allocations: 1.344 kB / 0.7325 GB, free: 1.398 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001069/0.004394, allocations: 49.62 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.004425, allocations: 55.41 kB / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.004481, allocations: 106.7 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.004494, allocations: 30.83 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.004527, allocations: 89.08 kB / 0.7329 GB, free: 1.035 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.004535, allocations: 3.953 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.004654, allocations: 38.64 kB / 0.7329 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.004723, allocations: 310.8 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.004764, allocations: 46.59 kB / 0.7332 GB, free: 0.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.761e-05/0.004812, allocations: 76.5 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.095e-05/0.004873, allocations: 77.78 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.004876, allocations: 4 kB / 0.7334 GB, free: 452 kB / 0.698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001065/0.004983, allocations: 151.5 kB / 0.7335 GB, free: 284 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/0.005015, allocations: 33.7 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.00502, allocations: 0 / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.005034, allocations: 7.938 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.005049, allocations: 6 kB / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.005052, allocations: 0 / 0.7336 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.005155, allocations: 19.97 kB / 0.7336 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.005165, allocations: 4.984 kB / 0.7336 GB, free: 208 kB / 0.698 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 5.254e-05/0.005217, allocations: 115.3 kB / 0.7337 GB, free: 84 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.549e-06/0.005222, allocations: 4 kB / 0.7337 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.005243, allocations: 7.672 kB / 0.7337 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.005246, allocations: 3.938 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.005249, allocations: 5.25 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.005251, allocations: 0 / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.418e-05/0.005315, allocations: 65.89 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005316, allocations: 1.25 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-06/0.00532, allocations: 5.078 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.005325, allocations: 4 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.005327, allocations: 0.7188 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-06/0.00533, allocations: 0 / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.005332, allocations: 4.594 kB / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005332, allocations: 0 / 0.7338 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.487e-05/0.005387, allocations: 70.72 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.005398, allocations: 4 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.005408, allocations: 0 / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.00543, allocations: 7.922 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.005432, allocations: 0.7656 kB / 0.7339 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.224e-05/0.005444, allocations: 9.797 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.005445, allocations: 0 / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001082/0.005553, allocations: 16.75 kB / 0.7339 GB, free: 15.84 MB / 0.7136 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.0001025/0.005655, allocations: 89.28 kB / 0.734 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.005797, allocations: 138.6 kB / 0.7341 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.005801, allocations: 3.984 kB / 0.7341 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.005817, allocations: 15.03 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.00592, allocations: 64.03 kB / 0.7342 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003606/0.00628, allocations: 131.8 kB / 0.7343 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.378e-05/0.006304, allocations: 54.48 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.526e-05/0.006319, allocations: 4 kB / 0.7344 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/0.006381, allocations: 67.38 kB / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.006382, allocations: 0 / 0.7345 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.002711/0.009093, allocations: 1.269 MB / 0.7357 GB, free: 13.99 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Not.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.017064812593162]