Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.002572/0.002572, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.00294/0.00294, allocations: 157.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.332 MB / 186.7 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.971/2.971, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 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.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.1.|mulOr1.y|mulOr2.u.1.|mulOr2.u.2.|mulOr2.y|mulOr5.u.1.|mulOr5.u.2.|mulOr5.u.3.|mulOr5.u.4.|mulOr5.u.5.|mulOr5.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.896e-06/2.896e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.195e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00215/0.002182, allocations: 0.8145 MB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.00451, allocations: 1.515 MB / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.004575, allocations: 0 / 0.7887 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.004712, allocations: 19.8 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.532e-05/0.004797, allocations: 44.55 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.006026, allocations: 0.4982 MB / 0.7892 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006153/0.006642, allocations: 482.3 kB / 0.7897 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.00678, allocations: 25.67 kB / 0.7897 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.007118, allocations: 263.6 kB / 0.79 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.007392, allocations: 147.6 kB / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.429e-05/0.007486, allocations: 40 kB / 0.7901 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.007625, allocations: 55.98 kB / 0.7902 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.03e-05/0.007706, allocations: 39.83 kB / 0.7902 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.007908, allocations: 136.9 kB / 0.7904 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.008547, allocations: 490.7 kB / 0.7908 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008551, allocations: 4 kB / 0.7908 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008552, allocations: 0.5938 kB / 0.7908 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.008557, allocations: 0 / 0.7908 GB, free: 8.234 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009329/0.00949, allocations: 0.673 MB / 0.7915 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.009528, allocations: 12.03 kB / 0.7915 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.009664, allocations: 36.84 kB / 0.7915 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.01005, allocations: 209.9 kB / 0.7917 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.01008, allocations: 20.31 kB / 0.7918 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/0.01015, allocations: 32.36 kB / 0.7918 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.01042, allocations: 135.7 kB / 0.7919 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.01043, allocations: 1.719 kB / 0.7919 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.01045, allocations: 16.3 kB / 0.7919 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.01046, allocations: 384 / 0.7919 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.01059, allocations: 55.84 kB / 0.792 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.01159, allocations: 0.6754 MB / 0.7926 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.01178, allocations: 87.03 kB / 0.7927 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.081e-05/0.01186, allocations: 42.05 kB / 0.7928 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.01188, allocations: 3.938 kB / 0.7928 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.01214, allocations: 156.9 kB / 0.7929 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.01214, allocations: 0 / 0.7929 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0005417/0.01268, allocations: 247.1 kB / 0.7932 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.01273, allocations: 55.94 kB / 0.7932 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.01299, allocations: 263.7 kB / 0.7935 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.85e-05/0.01306, allocations: 49.69 kB / 0.7935 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.01322, allocations: 175.9 kB / 0.7937 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.01327, allocations: 47.64 kB / 0.7937 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.01353, allocations: 132.9 kB / 0.7939 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000292/0.01382, allocations: 0.504 MB / 0.7943 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.01433, allocations: 344.4 kB / 0.7947 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007099/0.01504, allocations: 464.5 kB / 0.7951 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.01572, allocations: 458.9 kB / 0.7956 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01572, allocations: 0 / 0.7956 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001371/0.01709, allocations: 0.8495 MB / 0.7964 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/0.01724, allocations: 166.8 kB / 0.7965 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01724, allocations: 4.781 kB / 0.7965 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.01726, allocations: 4 kB / 0.7965 GB, free: 1.867 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.0173, allocations: 10 kB / 0.7966 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.01731, allocations: 11.92 kB / 0.7966 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.01796, allocations: 114.7 kB / 0.7967 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.01803, allocations: 31.97 kB / 0.7967 GB, free: 1.707 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0002063/0.01823, allocations: 196.3 kB / 0.7969 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.01827, allocations: 23.89 kB / 0.7969 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.01832, allocations: 19.62 kB / 0.7969 GB, free: 1.465 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.01833, allocations: 4 kB / 0.7969 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01833, allocations: 3.938 kB / 0.7969 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01834, allocations: 3.938 kB / 0.7969 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.01902, allocations: 0.4979 MB / 0.7974 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01902, allocations: 0 / 0.7974 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.448e-05/0.01905, allocations: 12.5 kB / 0.7974 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01905, allocations: 0.6875 kB / 0.7974 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.01907, allocations: 4 kB / 0.7975 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01907, allocations: 5.031 kB / 0.7975 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01907, allocations: 0 / 0.7975 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004156/0.01949, allocations: 338.1 kB / 0.7978 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.01952, allocations: 20.52 kB / 0.7978 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.01955, allocations: 7.984 kB / 0.7978 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.01962, allocations: 12.72 kB / 0.7978 GB, free: 0.5078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.01968, allocations: 19.97 kB / 0.7978 GB, free: 500 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.0197, allocations: 11.72 kB / 0.7978 GB, free: 492 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001422/0.01984, allocations: 168.2 kB / 0.798 GB, free: 324 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01984, allocations: 0 / 0.798 GB, free: 324 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003759/0.02022, allocations: 83.92 kB / 0.7981 GB, free: 240 kB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002073/0.02042, allocations: 104.1 kB / 0.7982 GB, free: 128 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.02155, allocations: 0.819 MB / 0.799 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02155, allocations: 0 / 0.799 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.02169, allocations: 78.52 kB / 0.7991 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000428/0.02212, allocations: 50.69 kB / 0.7991 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/0.02277, allocations: 332.5 kB / 0.7994 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.0229, allocations: 114 kB / 0.7995 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.195e-05/0.02296, allocations: 22.14 kB / 0.7996 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.023, allocations: 20.5 kB / 0.7996 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of SimCode: time 5.1e-07/0.023, allocations: 1.031 kB / 0.7996 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of Templates: time 0.01068/0.03369, allocations: 5.089 MB / 0.8045 GB, free: 9.602 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.360690496047027]