Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008686/0.0008686, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001024/0.001024, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9427/0.9427, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.831/1.831, allocations: 377.8 MB / 0.6228 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.068e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001637/0.001668, allocations: 0.8047 MB / 0.983 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.003217, allocations: 1.509 MB / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.003283, allocations: 0 / 0.9845 GB, free: 15.74 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 9.063e-05/0.003373, allocations: 19.8 kB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.003421, allocations: 43.64 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008684/0.00429, allocations: 0.519 MB / 0.985 GB, free: 15.17 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.004683, allocations: 491.1 kB / 0.9855 GB, free: 14.69 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.004789, allocations: 29.59 kB / 0.9855 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.004994, allocations: 255.7 kB / 0.9858 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.005157, allocations: 147.6 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.005203, allocations: 48 kB / 0.986 GB, free: 14.22 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.443e-05/0.005277, allocations: 48 kB / 0.986 GB, free: 14.17 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.00532, allocations: 39.89 kB / 0.986 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.005429, allocations: 143.7 kB / 0.9862 GB, free: 13.99 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000371/0.0058, allocations: 486.8 kB / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005802, allocations: 0 / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.62e-07/0.005803, allocations: 0 / 0.9866 GB, free: 13.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.005807, allocations: 0 / 0.9866 GB, free: 13.52 MB / 0.948 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.0005383/0.006345, allocations: 0.576 MB / 0.9872 GB, free: 12.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.006378, allocations: 16.02 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.006439, allocations: 36.78 kB / 0.9873 GB, free: 12.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.00666, allocations: 193.5 kB / 0.9874 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.006679, allocations: 24.36 kB / 0.9875 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.00672, allocations: 28.38 kB / 0.9875 GB, free: 12.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.006897, allocations: 151.8 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006905, allocations: 192 / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006916, allocations: 4.375 kB / 0.9876 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006921, allocations: 4.375 kB / 0.9876 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.00702, allocations: 94.17 kB / 0.9877 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.007542, allocations: 0.5742 MB / 0.9883 GB, free: 11.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.007662, allocations: 90.48 kB / 0.9884 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.007707, allocations: 36.84 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.007715, allocations: 4 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.007877, allocations: 155.4 kB / 0.9886 GB, free: 11.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 9.52e-07/0.007878, allocations: 0 / 0.9886 GB, free: 11.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003105/0.008189, allocations: 243.7 kB / 0.9888 GB, free: 11.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.008223, allocations: 59.41 kB / 0.9889 GB, free: 11.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.008338, allocations: 183.1 kB / 0.989 GB, free: 10.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/0.008381, allocations: 49.69 kB / 0.9891 GB, free: 10.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.008457, allocations: 124.7 kB / 0.9892 GB, free: 10.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.00848, allocations: 43.64 kB / 0.9892 GB, free: 10.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/0.008602, allocations: 117.6 kB / 0.9894 GB, free: 10.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.008683, allocations: 326.8 kB / 0.9897 GB, free: 10.21 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.008964, allocations: 312.3 kB / 0.99 GB, free: 9.879 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.009266, allocations: 395.2 kB / 0.9903 GB, free: 9.426 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.009578, allocations: 404.8 kB / 0.9907 GB, free: 8.965 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.00958, allocations: 3.938 kB / 0.9907 GB, free: 8.961 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006894/0.01027, allocations: 0.7825 MB / 0.9915 GB, free: 8.113 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.778e-05/0.01034, allocations: 164.4 kB / 0.9917 GB, free: 7.922 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01034, allocations: 0 / 0.9917 GB, free: 7.922 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.01035, allocations: 4 kB / 0.9917 GB, free: 7.918 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.059e-05/0.01037, allocations: 11.98 kB / 0.9917 GB, free: 7.906 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.01038, allocations: 7.938 kB / 0.9917 GB, free: 7.898 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.01076, allocations: 143.9 kB / 0.9918 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.0108, allocations: 32.03 kB / 0.9918 GB, free: 7.727 MB / 0.948 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.0001147/0.01091, allocations: 165.5 kB / 0.992 GB, free: 7.555 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/0.01093, allocations: 23.91 kB / 0.992 GB, free: 7.531 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.01095, allocations: 17.81 kB / 0.992 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01096, allocations: 0 / 0.992 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01096, allocations: 0 / 0.992 GB, free: 7.516 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.01097, allocations: 7.922 kB / 0.9921 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.0113, allocations: 426.1 kB / 0.9925 GB, free: 7.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.0113, allocations: 4 kB / 0.9925 GB, free: 7.051 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.01131, allocations: 7.922 kB / 0.9925 GB, free: 7.043 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01132, allocations: 4 kB / 0.9925 GB, free: 7.039 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.01132, allocations: 4 kB / 0.9925 GB, free: 7.035 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01133, allocations: 11.94 kB / 0.9925 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01133, allocations: 0 / 0.9925 GB, free: 7.023 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.01152, allocations: 281.5 kB / 0.9928 GB, free: 6.734 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.01153, allocations: 15.84 kB / 0.9928 GB, free: 6.719 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.01155, allocations: 7.938 kB / 0.9928 GB, free: 6.711 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.974e-05/0.01159, allocations: 11.92 kB / 0.9928 GB, free: 6.699 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01163, allocations: 23.97 kB / 0.9928 GB, free: 6.676 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.01163, allocations: 4 kB / 0.9928 GB, free: 6.672 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.838e-05/0.01169, allocations: 119.2 kB / 0.9929 GB, free: 6.555 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01169, allocations: 0 / 0.9929 GB, free: 6.555 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002416/0.01193, allocations: 83.88 kB / 0.993 GB, free: 6.473 MB / 0.948 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.0001027/0.01204, allocations: 112.1 kB / 0.9931 GB, free: 6.352 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005251/0.01256, allocations: 0.7043 MB / 0.9938 GB, free: 5.555 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01256, allocations: 0 / 0.9938 GB, free: 5.555 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.01264, allocations: 71.89 kB / 0.9939 GB, free: 5.484 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.01291, allocations: 57.92 kB / 0.9939 GB, free: 5.434 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004022/0.01331, allocations: 360.4 kB / 0.9943 GB, free: 5.047 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.956e-05/0.01339, allocations: 120.2 kB / 0.9944 GB, free: 4.91 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/0.01342, allocations: 20.5 kB / 0.9944 GB, free: 4.891 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.01342, allocations: 0 / 0.9944 GB, free: 4.891 MB / 0.948 GB Notification: Performance of Templates: time 0.003419/0.01684, allocations: 3.369 MB / 0.9977 GB, free: 1.562 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 7.042986459098756]