Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 118.1 kB / 17.13 MB, free: 5.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192.6 kB / 20.08 MB, free: 2.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.612/2.612, allocations: 443.5 MB / 0.7293 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 1.057 GB, free: 1.926 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3582, allocations: 160.7 MB / 1.214 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002767/0.361, allocations: 0.8371 MB / 1.215 GB, free: 52 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002396/0.3634, allocations: 1.488 MB / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.3635, allocations: 0 / 1.216 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.3637, allocations: 19.8 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3638, allocations: 31.72 kB / 1.216 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3655, allocations: 0.524 MB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007772/0.3662, allocations: 479.1 kB / 1.217 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.3664, allocations: 37.48 kB / 1.217 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.3668, allocations: 183.7 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004032/0.3672, allocations: 171.4 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.3673, allocations: 44 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.3675, allocations: 51.98 kB / 1.218 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.451e-05/0.3676, allocations: 43.84 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.3678, allocations: 171.4 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.3684, allocations: 406.8 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3684, allocations: 4 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.083e-06/0.3684, allocations: 0 / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.3684, allocations: 0 / 1.218 GB, free: 12.42 MB / 0.9669 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.001086/0.3695, allocations: 0.6553 MB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.3696, allocations: 15.98 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.3697, allocations: 28.84 kB / 1.219 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004008/0.3701, allocations: 261 kB / 1.219 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.961e-05/0.3702, allocations: 24.38 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.3702, allocations: 36.34 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.3706, allocations: 154.6 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3706, allocations: 4.188 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.373e-05/0.3706, allocations: 7.938 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3706, allocations: 4 kB / 1.22 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.3708, allocations: 83.89 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3718, allocations: 0.6955 MB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.3721, allocations: 171.6 kB / 1.221 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.941e-05/0.3722, allocations: 36.83 kB / 1.221 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.3722, allocations: 4 kB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002807/0.3725, allocations: 157.5 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.3725, allocations: 0 / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0005492/0.373, allocations: 241.5 kB / 1.221 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.3731, allocations: 67.39 kB / 1.221 GB, free: 9.559 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3733, allocations: 186.7 kB / 1.221 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.3734, allocations: 37.7 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.3735, allocations: 128.6 kB / 1.221 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.3736, allocations: 35.75 kB / 1.221 GB, free: 9.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.3738, allocations: 113.7 kB / 1.221 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.374, allocations: 338.8 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/0.3743, allocations: 159.9 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.3747, allocations: 243 kB / 1.222 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005545/0.3753, allocations: 412.3 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3753, allocations: 0 / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001199/0.3765, allocations: 0.6226 MB / 1.223 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.3766, allocations: 160.5 kB / 1.223 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.3767, allocations: 12.28 kB / 1.223 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.3767, allocations: 4 kB / 1.223 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.617e-05/0.3767, allocations: 15.92 kB / 1.223 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3767, allocations: 4 kB / 1.223 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008074/0.3775, allocations: 139.7 kB / 1.224 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.3776, allocations: 31.97 kB / 1.224 GB, free: 6.754 MB / 0.9669 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.000222/0.3778, allocations: 157.5 kB / 1.224 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.3779, allocations: 15.91 kB / 1.224 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.325e-05/0.3779, allocations: 21.81 kB / 1.224 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.3779, allocations: 4 kB / 1.224 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.3779, allocations: 0 / 1.224 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.3779, allocations: 7.984 kB / 1.224 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006807/0.3786, allocations: 0.504 MB / 1.224 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3786, allocations: 4 kB / 1.224 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.3787, allocations: 4 kB / 1.224 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3787, allocations: 8 kB / 1.224 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3787, allocations: 7.984 kB / 1.224 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.3787, allocations: 4 kB / 1.224 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3787, allocations: 0 / 1.224 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.379, allocations: 283.3 kB / 1.225 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.3791, allocations: 93.02 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3791, allocations: 0 / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3792, allocations: 8 kB / 1.225 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3793, allocations: 19.97 kB / 1.225 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.3793, allocations: 4 kB / 1.225 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.928e-05/0.3794, allocations: 119.2 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3794, allocations: 4 kB / 1.225 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004083/0.3798, allocations: 87.88 kB / 1.225 GB, free: 5.312 MB / 0.9669 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.0002152/0.38, allocations: 121.6 kB / 1.225 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008074/0.3808, allocations: 0.553 MB / 1.226 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3808, allocations: 4.688 kB / 1.226 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.3809, allocations: 71.91 kB / 1.226 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.3814, allocations: 55.8 kB / 1.226 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007012/0.3821, allocations: 356 kB / 1.226 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.3824, allocations: 0.7281 MB / 1.227 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.3825, allocations: 23.44 kB / 1.227 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of SimCode: time 4.31e-07/0.3825, allocations: 3.938 kB / 1.227 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of Templates: time 0.006991/0.3895, allocations: 3.337 MB / 1.23 GB, free: 15.97 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.804479988990352]