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.0009948/0.0009948, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002399, allocations: 440 kB / 10.41 MB, free: 284 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.0007122/0.0007122, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009683/0.00168, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9818/0.9818, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08449/1.066, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.301/2.301, allocations: 447.1 MB / 0.675 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2368/2.537, allocations: 146 MB / 0.8176 GB, free: 3.855 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.748e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002067/0.002095, allocations: 0.6727 MB / 0.8196 GB, free: 1.84 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00158/0.003675, allocations: 1.166 MB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.003714, allocations: 0 / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.003739, allocations: 3.938 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.003782, allocations: 3.938 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.004179, allocations: 119.6 kB / 0.8208 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.004355, allocations: 83.91 kB / 0.8209 GB, free: 464 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.65e-05/0.004431, allocations: 11.94 kB / 0.8209 GB, free: 452 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.004535, allocations: 51.94 kB / 0.821 GB, free: 400 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.004643, allocations: 27.91 kB / 0.821 GB, free: 372 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.004669, allocations: 8 kB / 0.821 GB, free: 364 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.788e-05/0.004757, allocations: 15.98 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.004782, allocations: 7.938 kB / 0.821 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.004825, allocations: 16 kB / 0.8211 GB, free: 324 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.004979, allocations: 59.88 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.004993, allocations: 3.938 kB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.984e-06/0.004995, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.00501, allocations: 0 / 0.8211 GB, free: 260 kB / 0.7917 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.0004964/0.005507, allocations: 282.3 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.005545, allocations: 12.03 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.005592, allocations: 4.938 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.005696, allocations: 125.7 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.00571, allocations: 384 / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.00573, allocations: 4.375 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.005803, allocations: 34.25 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.005811, allocations: 192 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.005819, allocations: 8.312 kB / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005825, allocations: 384 / 0.8216 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.878e-05/0.005844, allocations: 7.938 kB / 0.8216 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002637/0.006108, allocations: 160.3 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.788e-05/0.006155, allocations: 14.58 kB / 0.8217 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.232e-05/0.006168, allocations: 8.922 kB / 0.8218 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-06/0.006173, allocations: 3.938 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000109/0.006282, allocations: 55.44 kB / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/0.006283, allocations: 0 / 0.8218 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.006426, allocations: 53.61 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.006464, allocations: 51.41 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.00655, allocations: 114.6 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.006573, allocations: 25.7 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.006621, allocations: 96.08 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.006637, allocations: 11.95 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.424e-05/0.006691, allocations: 25.69 kB / 0.8222 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.006793, allocations: 310.8 kB / 0.8225 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.006863, allocations: 53.69 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.006931, allocations: 68.56 kB / 0.8226 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.669e-05/0.007028, allocations: 80.17 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.007034, allocations: 4 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001783/0.007212, allocations: 149.2 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.007253, allocations: 29.7 kB / 0.8228 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.007261, allocations: 11.92 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.007283, allocations: 7.922 kB / 0.8229 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.327e-05/0.007306, allocations: 0 / 0.8229 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.007311, allocations: 4 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.007449, allocations: 15.98 kB / 0.8229 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.007465, allocations: 8 kB / 0.8229 GB, free: 14.23 MB / 0.8073 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 7.44e-05/0.00754, allocations: 117.9 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.00755, allocations: 0 / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.007574, allocations: 7.688 kB / 0.823 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.007577, allocations: 3.938 kB / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007579, allocations: 0 / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.007582, allocations: 0 / 0.823 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.574e-05/0.007657, allocations: 65.89 kB / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.007659, allocations: 0 / 0.8231 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-06/0.007668, allocations: 7.938 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.007677, allocations: 8 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.007679, allocations: 0 / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.478e-06/0.007683, allocations: 4 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.007686, allocations: 3.938 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.007686, allocations: 4 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.497e-05/0.007771, allocations: 69.09 kB / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.759e-06/0.007781, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.471e-05/0.007796, allocations: 0 / 0.8232 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.007818, allocations: 3.938 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.007824, allocations: 4 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.007844, allocations: 12.84 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007844, allocations: 0 / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002043/0.008049, allocations: 19.94 kB / 0.8232 GB, free: 13.86 MB / 0.8073 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.0001417/0.00819, allocations: 84.55 kB / 0.8233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.008361, allocations: 137.9 kB / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.008365, allocations: 0 / 0.8234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.008388, allocations: 12.86 kB / 0.8234 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.00854, allocations: 77.95 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.009052, allocations: 112.8 kB / 0.8236 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.009091, allocations: 63.48 kB / 0.8237 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.009115, allocations: 7.859 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.009208, allocations: 67.36 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of SimCode: time 9.22e-07/0.009209, allocations: 0 / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of Templates: time 0.003867/0.01308, allocations: 1.264 MB / 0.825 GB, free: 11.98 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not/Buildings_latest_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.077460555359721]