Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001504/0.001504, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001596/0.001596, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.508/1.508, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.747/2.747, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.366e-05, allocations: 2.859 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002132/0.002165, allocations: 0.6477 MB / 0.787 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001869/0.004035, allocations: 1.215 MB / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.004083, allocations: 0 / 0.7882 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.004114, allocations: 8.719 kB / 0.7882 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.742e-05/0.004201, allocations: 15.84 kB / 0.7882 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006907/0.004892, allocations: 212.9 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.005167, allocations: 168.6 kB / 0.7886 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.005267, allocations: 12.55 kB / 0.7886 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.005428, allocations: 91.88 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005562, allocations: 48.69 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.107e-05/0.005604, allocations: 16 kB / 0.7888 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.005688, allocations: 33.34 kB / 0.7888 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.005712, allocations: 7.938 kB / 0.7888 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.005812, allocations: 51.94 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.006108, allocations: 179.5 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.006114, allocations: 7 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.006115, allocations: 0 / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.00612, allocations: 0 / 0.789 GB, free: 10.09 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006357/0.006756, allocations: 353.6 kB / 0.7894 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.006795, allocations: 8.031 kB / 0.7894 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.93e-05/0.006874, allocations: 16.89 kB / 0.7894 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.007012, allocations: 109.7 kB / 0.7895 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.007037, allocations: 8.375 kB / 0.7895 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.007073, allocations: 13.58 kB / 0.7895 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.007214, allocations: 46.19 kB / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007223, allocations: 192 / 0.7896 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.007236, allocations: 4.969 kB / 0.7896 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.007243, allocations: 5.469 kB / 0.7896 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.007294, allocations: 23.92 kB / 0.7896 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.007781, allocations: 268.5 kB / 0.7898 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.048e-05/0.007871, allocations: 31.08 kB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.00791, allocations: 21.47 kB / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.007921, allocations: 0 / 0.7899 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/0.008115, allocations: 80.06 kB / 0.79 GB, free: 9 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.008116, allocations: 5.312 kB / 0.79 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003048/0.008421, allocations: 117.8 kB / 0.7901 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.008477, allocations: 51.41 kB / 0.7901 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.008604, allocations: 117.8 kB / 0.7903 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.008644, allocations: 31.48 kB / 0.7903 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.008738, allocations: 100.1 kB / 0.7904 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.008762, allocations: 15.84 kB / 0.7904 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.008871, allocations: 53.67 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.009057, allocations: 314.8 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.009245, allocations: 120.9 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.009467, allocations: 157.8 kB / 0.791 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.009699, allocations: 161.3 kB / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.009701, allocations: 0 / 0.7912 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005594/0.01026, allocations: 343 kB / 0.7915 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.156e-05/0.01033, allocations: 68.95 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.01034, allocations: 0 / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.01036, allocations: 4 kB / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.791e-05/0.01038, allocations: 0 / 0.7916 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.01039, allocations: 8.516 kB / 0.7916 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.01074, allocations: 49.19 kB / 0.7916 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.01077, allocations: 13.59 kB / 0.7916 GB, free: 7.156 MB / 0.7448 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,or1.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.01091, allocations: 125.8 kB / 0.7917 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.01093, allocations: 11.89 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.608e-05/0.01095, allocations: 13.06 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01096, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01096, allocations: 0.7188 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01096, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.0111, allocations: 121.9 kB / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01111, allocations: 1.156 kB / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.01111, allocations: 0 / 0.7919 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01112, allocations: 3.938 kB / 0.7919 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01113, allocations: 8.656 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.01113, allocations: 0 / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01113, allocations: 0.6875 kB / 0.7919 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.01131, allocations: 121 kB / 0.792 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.01132, allocations: 8.781 kB / 0.792 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01134, allocations: 7.938 kB / 0.792 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.158e-05/0.01137, allocations: 9.859 kB / 0.792 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.01141, allocations: 0 / 0.792 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01142, allocations: 8 kB / 0.7921 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.283e-05/0.01149, allocations: 95.2 kB / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01149, allocations: 0 / 0.7921 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002441/0.01173, allocations: 31.95 kB / 0.7922 GB, free: 6.551 MB / 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.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.0001895/0.01192, allocations: 106.3 kB / 0.7923 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.01235, allocations: 282.1 kB / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01235, allocations: 0 / 0.7925 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.133e-05/0.0124, allocations: 27.92 kB / 0.7926 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.01264, allocations: 17.92 kB / 0.7926 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.01303, allocations: 157.1 kB / 0.7927 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.941e-05/0.01311, allocations: 71.83 kB / 0.7928 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.689e-05/0.01313, allocations: 5.844 kB / 0.7928 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.01316, allocations: 8.5 kB / 0.7928 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.01316, allocations: 4 kB / 0.7928 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of Templates: time 0.005842/0.019, allocations: 2.048 MB / 0.7948 GB, free: 3.812 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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: 7.739379220991395]