Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001411/0.001411, allocations: 80.53 kB / 19.18 MB, free: 2.52 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.001583/0.001583, allocations: 160.1 kB / 22.45 MB, free: 5.375 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.831/2.831, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.331e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001915/0.001949, allocations: 0.6532 MB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.003949, allocations: 1.214 MB / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.004, allocations: 0 / 0.9528 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.252e-05/0.004032, allocations: 3.938 kB / 0.9528 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.827e-05/0.004111, allocations: 11.88 kB / 0.9528 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006882/0.004799, allocations: 217.9 kB / 0.953 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.005052, allocations: 171.7 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.005171, allocations: 11.98 kB / 0.9532 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.00533, allocations: 99.8 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.005461, allocations: 47.91 kB / 0.9533 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.005504, allocations: 19.94 kB / 0.9534 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.193e-05/0.005586, allocations: 24 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.00561, allocations: 7.984 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.005699, allocations: 55.95 kB / 0.9534 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.006015, allocations: 183.5 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.006018, allocations: 0 / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.31e-07/0.006019, allocations: 0 / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.006028, allocations: 3.938 kB / 0.9536 GB, free: 8.797 MB / 0.8575 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.0005808/0.006609, allocations: 357.6 kB / 0.954 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.006652, allocations: 8.031 kB / 0.954 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.00673, allocations: 16.88 kB / 0.954 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.006875, allocations: 113.7 kB / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.006896, allocations: 4.375 kB / 0.9541 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.006933, allocations: 12.38 kB / 0.9541 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.007063, allocations: 54.17 kB / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007073, allocations: 192 / 0.9542 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.007083, allocations: 4.375 kB / 0.9542 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.007089, allocations: 4.312 kB / 0.9542 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.75e-05/0.007136, allocations: 15.94 kB / 0.9542 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005017/0.007638, allocations: 268.5 kB / 0.9544 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.007739, allocations: 34.5 kB / 0.9545 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.593e-05/0.007775, allocations: 16.86 kB / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/0.007787, allocations: 0 / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000198/0.007985, allocations: 87.39 kB / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/0.007987, allocations: 0 / 0.9546 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002972/0.008285, allocations: 109.5 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.008332, allocations: 51.41 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.008493, allocations: 117.8 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.008535, allocations: 33.7 kB / 0.9549 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.008619, allocations: 92.08 kB / 0.955 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.008639, allocations: 11.95 kB / 0.955 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.008741, allocations: 45.69 kB / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.008916, allocations: 322.8 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.009099, allocations: 115.4 kB / 0.9554 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.009306, allocations: 156 kB / 0.9556 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.009531, allocations: 167.6 kB / 0.9557 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.009533, allocations: 0 / 0.9557 GB, free: 6.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005096/0.01004, allocations: 332.2 kB / 0.9561 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.01011, allocations: 67.39 kB / 0.9561 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.01013, allocations: 12.12 kB / 0.9561 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.01015, allocations: 0 / 0.9561 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.01017, allocations: 4 kB / 0.9561 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01018, allocations: 0 / 0.9561 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003687/0.01055, allocations: 55.83 kB / 0.9562 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.01058, allocations: 15.98 kB / 0.9562 GB, free: 5.855 MB / 0.8575 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 0.0001332/0.01072, allocations: 124.1 kB / 0.9563 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.01073, allocations: 7.938 kB / 0.9563 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.836e-05/0.01076, allocations: 12.38 kB / 0.9564 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.01076, allocations: 3.984 kB / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01077, allocations: 0 / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.01078, allocations: 3.984 kB / 0.9564 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.01091, allocations: 125.2 kB / 0.9565 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.01091, allocations: 3.938 kB / 0.9565 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.075e-06/0.01092, allocations: 0 / 0.9565 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.01092, allocations: 3.938 kB / 0.9565 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01094, allocations: 8 kB / 0.9565 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01094, allocations: 4 kB / 0.9565 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01094, allocations: 320 / 0.9565 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001633/0.0111, allocations: 105.1 kB / 0.9566 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.01112, allocations: 11.95 kB / 0.9566 GB, free: 5.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01114, allocations: 7.922 kB / 0.9566 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.01116, allocations: 4 kB / 0.9566 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.01121, allocations: 7.938 kB / 0.9566 GB, free: 5.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.01121, allocations: 3.984 kB / 0.9566 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.47e-05/0.01128, allocations: 91.22 kB / 0.9567 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01128, allocations: 0 / 0.9567 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002569/0.01154, allocations: 39.92 kB / 0.9568 GB, free: 5.242 MB / 0.8575 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 0.0001861/0.01172, allocations: 103.2 kB / 0.9569 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004147/0.01214, allocations: 278.1 kB / 0.9571 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01214, allocations: 0 / 0.9571 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.01219, allocations: 24 kB / 0.9571 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002386/0.01243, allocations: 11.98 kB / 0.9572 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000458/0.01289, allocations: 163.8 kB / 0.9573 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.662e-05/0.01297, allocations: 79.19 kB / 0.9574 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.013, allocations: 4 kB / 0.9574 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.258e-05/0.01303, allocations: 12.5 kB / 0.9574 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.01304, allocations: 0 / 0.9574 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of Templates: time 0.006076/0.01911, allocations: 2.045 MB / 0.9594 GB, free: 2.484 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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: 8.139512974768877]