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.001412/0.001412, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001644/0.001644, allocations: 213.2 kB / 22.25 MB, free: 5.262 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.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.805 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.576/3.576, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002121/0.002121, allocations: 69.72 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4523, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00206/0.4543, allocations: 0.6203 MB / 1.364 GB, free: 12.97 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.456, allocations: 1.132 MB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.456, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.4561, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.803e-05/0.4561, allocations: 7.922 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.4566, allocations: 122.2 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.4568, allocations: 87.89 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.4569, allocations: 0 / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.4569, allocations: 39.89 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.982e-05/0.457, allocations: 31.97 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.4571, allocations: 7.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.4571, allocations: 19.98 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.4572, allocations: 7.938 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.463e-05/0.4572, allocations: 27.97 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.4574, allocations: 87.72 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4574, allocations: 0 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4574, allocations: 0 / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4574, allocations: 0 / 1.366 GB, free: 11.4 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.0005409/0.4579, allocations: 292 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.458, allocations: 8.031 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.458, allocations: 12.89 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4581, allocations: 110.5 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4582, allocations: 384 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.4582, allocations: 4.375 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.927e-05/0.4583, allocations: 42.25 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4583, allocations: 4.125 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4583, allocations: 3.938 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4583, allocations: 7.922 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.531e-05/0.4583, allocations: 4 kB / 1.366 GB, free: 10.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.4587, allocations: 220.6 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/0.4588, allocations: 26.58 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.4588, allocations: 16.72 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.4588, allocations: 3.938 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.459, allocations: 59.42 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.459, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002086/0.4592, allocations: 65.67 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.4592, allocations: 51.41 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.4593, allocations: 109.8 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4594, allocations: 25.7 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.4594, allocations: 88.14 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.3e-05/0.4594, allocations: 7.953 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-05/0.4595, allocations: 29.7 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4596, allocations: 314.8 kB / 1.367 GB, free: 9.746 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.565e-05/0.4597, allocations: 61.67 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.4599, allocations: 77.64 kB / 1.368 GB, free: 9.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.46, allocations: 84.2 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.46, allocations: 4 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002717/0.4603, allocations: 181.1 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.4603, allocations: 43.36 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4603, allocations: 0 / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4603, allocations: 3.984 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.747e-05/0.4603, allocations: 4 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4603, allocations: 3.984 kB / 1.368 GB, free: 9.234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.4605, allocations: 27.91 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.4606, allocations: 4 kB / 1.368 GB, free: 9.203 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.0001104/0.4607, allocations: 118.9 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.819e-06/0.4607, allocations: 8 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.4607, allocations: 3.688 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4607, allocations: 3.984 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4607, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4607, allocations: 0 / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.4608, allocations: 113.2 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.4608, allocations: 7.922 kB / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-06/0.4608, allocations: 0 / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4608, allocations: 0 / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.4608, allocations: 0 / 1.368 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.4608, allocations: 7.938 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4608, allocations: 4 kB / 1.368 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.4609, allocations: 77.08 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.461, allocations: 7.938 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.461, allocations: 3.984 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.267e-05/0.461, allocations: 0 / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.461, allocations: 4 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.461, allocations: 4 kB / 1.368 GB, free: 8.781 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.4611, allocations: 83.22 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4611, allocations: 0 / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002222/0.4613, allocations: 19.98 kB / 1.368 GB, free: 8.68 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.0001514/0.4614, allocations: 99.44 kB / 1.368 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.4617, allocations: 141 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.4617, allocations: 0 / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.998e-05/0.4617, allocations: 12 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.4619, allocations: 11.94 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002831/0.4622, allocations: 126.1 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.995e-05/0.4623, allocations: 59.34 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.4623, allocations: 8.188 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.717e-05/0.4623, allocations: 7.438 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.4623, allocations: 0 / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of Templates: time 0.003691/0.466, allocations: 1.158 MB / 1.37 GB, free: 7.023 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.919622072950006]