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.0007783/0.0007783, 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.0007921/0.0007921, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8989/0.8989, allocations: 177.2 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.79/1.79, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.176e-06/3.176e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/3.089e-05, allocations: 5.234 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001485/0.001516, allocations: 0.7969 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.003094, allocations: 1.513 MB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.003181, allocations: 3.938 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.003294, allocations: 23.73 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.003351, allocations: 35.66 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.004385, allocations: 0.5243 MB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004807/0.004865, allocations: 483.1 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.005006, allocations: 29.67 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.005244, allocations: 259.7 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.005432, allocations: 147.6 kB / 1.005 GB, free: 9.16 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.932e-05/0.005481, allocations: 40 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.574e-05/0.005577, allocations: 51.98 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.005629, allocations: 43.84 kB / 1.005 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.005746, allocations: 135.8 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004335/0.006179, allocations: 486.8 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006182, allocations: 0 / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.633e-06/0.006184, allocations: 4 kB / 1.005 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.006188, allocations: 0 / 1.005 GB, free: 8.414 MB / 0.9636 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.0006082/0.006796, allocations: 0.5721 MB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.006839, allocations: 12.75 kB / 1.006 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/0.006923, allocations: 32.8 kB / 1.006 GB, free: 7.734 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.007171, allocations: 201.5 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.007193, allocations: 20.38 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.007234, allocations: 28.38 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.007439, allocations: 151.8 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.00745, allocations: 192 / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.007468, allocations: 12.3 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.007473, allocations: 384 / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.007577, allocations: 87.88 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008546/0.008432, allocations: 0.5665 MB / 1.007 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.008573, allocations: 90.48 kB / 1.007 GB, free: 6.508 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.996e-05/0.008623, allocations: 48.86 kB / 1.007 GB, free: 6.457 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.008635, allocations: 4 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.008873, allocations: 153.5 kB / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.008874, allocations: 0 / 1.007 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=20): time 0.0003691/0.009243, allocations: 253.5 kB / 1.008 GB, free: 6.039 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.009282, allocations: 59.39 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.009402, allocations: 184.2 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.009443, allocations: 41.7 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.009521, allocations: 124.6 kB / 1.008 GB, free: 5.609 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.009547, allocations: 43.69 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.009674, allocations: 117.6 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.009755, allocations: 326.8 kB / 1.008 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.01004, allocations: 312.4 kB / 1.009 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/0.01033, allocations: 392.1 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.01066, allocations: 410.8 kB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01066, allocations: 0 / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007184/0.01138, allocations: 0.7796 MB / 1.01 GB, free: 3.016 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.647e-05/0.01146, allocations: 160.5 kB / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01147, allocations: 0 / 1.01 GB, free: 2.828 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.01148, allocations: 8 kB / 1.01 GB, free: 2.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.01151, allocations: 15.92 kB / 1.01 GB, free: 2.805 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01152, allocations: 11.92 kB / 1.01 GB, free: 2.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/0.01193, allocations: 147.6 kB / 1.011 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/0.01197, allocations: 35.97 kB / 1.011 GB, free: 2.613 MB / 0.9636 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.0001212/0.01209, allocations: 145.8 kB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.01211, allocations: 19.84 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.036e-05/0.01214, allocations: 17.81 kB / 1.011 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01215, allocations: 4 kB / 1.011 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.01215, allocations: 3.984 kB / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01216, allocations: 3.938 kB / 1.011 GB, free: 2.41 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.01254, allocations: 444 kB / 1.011 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.01254, allocations: 0 / 1.011 GB, free: 1.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.257e-05/0.01255, allocations: 11.94 kB / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01256, allocations: 0 / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.01257, allocations: 0 / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.01257, allocations: 7.938 kB / 1.011 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01257, allocations: 0 / 1.011 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.01277, allocations: 287.3 kB / 1.011 GB, free: 1.625 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.01279, allocations: 11.91 kB / 1.011 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.0128, allocations: 7.984 kB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.01285, allocations: 7.938 kB / 1.011 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.01289, allocations: 19.97 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.0129, allocations: 15.94 kB / 1.012 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.01296, allocations: 120.2 kB / 1.012 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 1.012 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002698/0.01323, allocations: 87.86 kB / 1.012 GB, free: 1.359 MB / 0.9636 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.00015/0.01338, allocations: 112.4 kB / 1.012 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.01394, allocations: 0.6988 MB / 1.013 GB, free: 464 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01394, allocations: 0 / 1.013 GB, free: 464 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.01403, allocations: 67.91 kB / 1.013 GB, free: 396 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.01433, allocations: 48.64 kB / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.01481, allocations: 356.5 kB / 1.013 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.14e-05/0.01489, allocations: 116.1 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.139e-05/0.01492, allocations: 24.5 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of SimCode: time 6.72e-07/0.01492, allocations: 4 kB / 1.013 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of Templates: time 0.004435/0.01936, allocations: 3.367 MB / 1.016 GB, free: 12.46 MB / 0.9792 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] "" 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.0347745986655354]