Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001246/0.001246, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001727/0.002973, 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.001193/0.001193, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002775, 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.9702/0.9702, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08381/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.375/2.375, allocations: 447.1 MB / 0.675 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2515/2.626, allocations: 146 MB / 0.8176 GB, free: 3.828 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.084e-05/1.239e-05, allocations: 8.844 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001085/0.001097, allocations: 0.7038 MB / 0.8196 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.002332, allocations: 1.232 MB / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.002362, allocations: 0 / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.185e-05/0.002384, allocations: 7.922 kB / 0.8208 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.605e-05/0.00242, allocations: 15.86 kB / 0.8209 GB, free: 0.4961 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.002751, allocations: 203.4 kB / 0.8211 GB, free: 304 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001619/0.002913, allocations: 171.7 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.674e-05/0.002979, allocations: 7.984 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.00308, allocations: 99.86 kB / 0.8213 GB, free: 24 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 9.8e-05/0.003178, allocations: 51.91 kB / 0.8214 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.003202, allocations: 16 kB / 0.8214 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.996e-05/0.003272, allocations: 27.92 kB / 0.8214 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.003293, allocations: 19.94 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.003334, allocations: 32 kB / 0.8215 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003474, allocations: 103.8 kB / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.003485, allocations: 0 / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.3e-07/0.003485, allocations: 0 / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.003496, allocations: 0 / 0.8216 GB, free: 15.78 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003892/0.003885, allocations: 355.8 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.806e-05/0.003913, allocations: 8.031 kB / 0.8219 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.003954, allocations: 16.92 kB / 0.8219 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.162e-05/0.004025, allocations: 113.7 kB / 0.822 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.004038, allocations: 12.38 kB / 0.822 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.004058, allocations: 8.375 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.95e-05/0.004117, allocations: 42.23 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.004123, allocations: 192 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-06/0.00413, allocations: 8.312 kB / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.004135, allocations: 384 / 0.8221 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.004149, allocations: 11.88 kB / 0.8221 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002281/0.004377, allocations: 184.3 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.464e-05/0.004432, allocations: 26.56 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.261e-05/0.004444, allocations: 8.859 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.699e-06/0.004449, allocations: 4 kB / 0.8223 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/0.004538, allocations: 87.39 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.093e-06/0.004539, allocations: 4 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001146/0.004653, allocations: 69.59 kB / 0.8225 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.004682, allocations: 55.41 kB / 0.8225 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.866e-05/0.004741, allocations: 118.7 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.004763, allocations: 37.69 kB / 0.8227 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.004797, allocations: 84.14 kB / 0.8228 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.004811, allocations: 23.77 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.004864, allocations: 45.67 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.968e-05/0.004933, allocations: 326.8 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.677e-05/0.005, allocations: 95.38 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.434e-05/0.005074, allocations: 127.7 kB / 0.8233 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.00517, allocations: 147.6 kB / 0.8235 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.005172, allocations: 4 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001757/0.005347, allocations: 260.3 kB / 0.8237 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.005389, allocations: 73.08 kB / 0.8238 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.005395, allocations: 7.922 kB / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.005406, allocations: 0 / 0.8238 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.005422, allocations: 7.938 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.005426, allocations: 4 kB / 0.8238 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.005568, allocations: 35.92 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.005585, allocations: 11.98 kB / 0.8239 GB, free: 13.13 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.705e-05/0.005642, allocations: 121.8 kB / 0.824 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.005652, allocations: 11.97 kB / 0.824 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.093e-05/0.005673, allocations: 12.38 kB / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.005674, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.005675, allocations: 0 / 0.824 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.005678, allocations: 4 kB / 0.824 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.502e-05/0.005733, allocations: 73.88 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005733, allocations: 3.938 kB / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-06/0.005737, allocations: 0 / 0.8241 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.005744, allocations: 11.89 kB / 0.8241 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005746, allocations: 7.922 kB / 0.8241 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.005751, allocations: 8 kB / 0.8241 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.005754, allocations: 7.938 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.005755, allocations: 0 / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.086e-05/0.005816, allocations: 81.09 kB / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-06/0.005824, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.005834, allocations: 0 / 0.8242 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.00586, allocations: 15.92 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.005864, allocations: 4.062 kB / 0.8242 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.643e-05/0.00588, allocations: 21.25 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.005881, allocations: 0 / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001193/0.006, allocations: 28 kB / 0.8243 GB, free: 12.68 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.821e-05/0.006088, allocations: 92.34 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.006271, allocations: 255 kB / 0.8246 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.006276, allocations: 7.984 kB / 0.8246 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.288e-05/0.006299, allocations: 20.86 kB / 0.8246 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001242/0.006423, allocations: 122.8 kB / 0.8247 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.00678, allocations: 153.6 kB / 0.8249 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.006807, allocations: 63.2 kB / 0.825 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.006825, allocations: 4 kB / 0.825 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.606e-05/0.006911, allocations: 79.34 kB / 0.825 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of SimCode: time 4.11e-07/0.006911, allocations: 0 / 0.825 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of Templates: time 0.003433/0.01034, allocations: 2.262 MB / 0.8272 GB, free: 9.559 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.051074152812362]