Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00183/0.00183, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002235/0.002235, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.562/1.562, allocations: 177.2 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.241/3.241, allocations: 429.6 MB / 0.673 GB, free: 3.867 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.319e-05/4.638e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002706/0.002752, allocations: 0.8091 MB / 0.8784 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.005577, allocations: 1.505 MB / 0.8799 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.446e-05/0.005651, allocations: 5.125 kB / 0.8799 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.005807, allocations: 19.95 kB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.506e-05/0.005882, allocations: 32.84 kB / 0.8799 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.007566, allocations: 0.5056 MB / 0.8804 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.008206, allocations: 480.8 kB / 0.8809 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.008357, allocations: 33.61 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004826/0.00884, allocations: 255.7 kB / 0.8812 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003948/0.009235, allocations: 151.6 kB / 0.8813 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.876e-05/0.009324, allocations: 44.5 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.00945, allocations: 49.77 kB / 0.8814 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.009525, allocations: 43.89 kB / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.009739, allocations: 135.8 kB / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006338/0.01037, allocations: 486.7 kB / 0.882 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01038, allocations: 0 / 0.882 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.352e-06/0.01038, allocations: 1.344 kB / 0.882 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.186e-06/0.01039, allocations: 3.984 kB / 0.882 GB, free: 1.969 MB / 0.8386 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.00117/0.01156, allocations: 0.5759 MB / 0.8826 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.0116, allocations: 9.375 kB / 0.8826 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.01176, allocations: 44.83 kB / 0.8826 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003678/0.01212, allocations: 202.2 kB / 0.8828 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.01216, allocations: 20.36 kB / 0.8829 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.01223, allocations: 33.97 kB / 0.8829 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.01252, allocations: 145 kB / 0.883 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.01253, allocations: 4.172 kB / 0.883 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.01255, allocations: 4.375 kB / 0.883 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.01256, allocations: 6.469 kB / 0.883 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.01274, allocations: 91.81 kB / 0.8831 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.01412, allocations: 0.5665 MB / 0.8837 GB, free: 152 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.01435, allocations: 86.48 kB / 0.8838 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.01443, allocations: 39.28 kB / 0.8838 GB, free: 16 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.01445, allocations: 4 kB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003911/0.01484, allocations: 155.8 kB / 0.884 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.01484, allocations: 0 / 0.884 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0005938/0.01544, allocations: 259.8 kB / 0.8842 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.0155, allocations: 55.41 kB / 0.8843 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.01572, allocations: 191.7 kB / 0.8844 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.0158, allocations: 41.69 kB / 0.8845 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.01611, allocations: 128.6 kB / 0.8846 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.0162, allocations: 47.62 kB / 0.8846 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.01657, allocations: 117.6 kB / 0.8848 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000264/0.01684, allocations: 326.8 kB / 0.8851 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.01734, allocations: 312.4 kB / 0.8854 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005795/0.01792, allocations: 400.1 kB / 0.8858 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008621/0.01878, allocations: 402.8 kB / 0.8861 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/0.01879, allocations: 4 kB / 0.8861 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001492/0.02028, allocations: 0.8027 MB / 0.8869 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.02044, allocations: 164.5 kB / 0.8871 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.02045, allocations: 0 / 0.8871 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.02047, allocations: 4 kB / 0.8871 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-05/0.02052, allocations: 15.92 kB / 0.8871 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.02053, allocations: 4.344 kB / 0.8871 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.0216, allocations: 139.7 kB / 0.8872 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.02171, allocations: 31.97 kB / 0.8873 GB, free: 12.14 MB / 0.8542 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.0002673/0.02198, allocations: 161.7 kB / 0.8874 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.02203, allocations: 23.91 kB / 0.8874 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.818e-05/0.02209, allocations: 21.8 kB / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.0221, allocations: 0 / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.02211, allocations: 4 kB / 0.8875 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.02211, allocations: 3.938 kB / 0.8875 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.02283, allocations: 438 kB / 0.8879 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.02283, allocations: 0 / 0.8879 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.02285, allocations: 8 kB / 0.8879 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.02285, allocations: 0 / 0.8879 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.02288, allocations: 11.98 kB / 0.8879 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.02288, allocations: 3.938 kB / 0.8879 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02288, allocations: 0 / 0.8879 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.02327, allocations: 289 kB / 0.8882 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.02331, allocations: 19.84 kB / 0.8882 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.02333, allocations: 0 / 0.8882 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.02341, allocations: 11.94 kB / 0.8882 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.272e-05/0.02348, allocations: 15.97 kB / 0.8882 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.02352, allocations: 19.92 kB / 0.8883 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001777/0.02369, allocations: 123.2 kB / 0.8884 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02369, allocations: 0 / 0.8884 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006077/0.0243, allocations: 75.95 kB / 0.8884 GB, free: 10.88 MB / 0.8542 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.0002154/0.02452, allocations: 116.3 kB / 0.8886 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.02557, allocations: 0.699 MB / 0.8892 GB, free: 9.961 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.02557, allocations: 4 kB / 0.8892 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.02577, allocations: 67.97 kB / 0.8893 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.02636, allocations: 58.22 kB / 0.8894 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.02705, allocations: 333.5 kB / 0.8897 GB, free: 9.484 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.0272, allocations: 120.2 kB / 0.8898 GB, free: 9.348 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.124e-05/0.02727, allocations: 21.48 kB / 0.8898 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.02732, allocations: 20.5 kB / 0.8898 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of SimCode: time 9.21e-07/0.02732, allocations: 0 / 0.8898 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of Templates: time 0.0118/0.03912, allocations: 5.081 MB / 0.8948 GB, free: 4.344 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.71458765200805]