Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007846/0.0007846, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007525/0.0007525, allocations: 181.9 kB / 23.22 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.8497/0.8497, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.614/1.614, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.334e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00191/0.001953, allocations: 0.8153 MB / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001949/0.003902, allocations: 1.502 MB / 0.954 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.741e-05/0.003989, allocations: 3.938 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.004158, allocations: 23.73 kB / 0.954 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.651e-05/0.004214, allocations: 31.72 kB / 0.9541 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.005216, allocations: 0.5191 MB / 0.9546 GB, free: 96 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.005697, allocations: 479.1 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.00588, allocations: 29.61 kB / 0.9551 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.006113, allocations: 263.7 kB / 0.9553 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.006303, allocations: 143.6 kB / 0.9554 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.006358, allocations: 40 kB / 0.9555 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.899e-05/0.006447, allocations: 55.98 kB / 0.9555 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.939e-05/0.006496, allocations: 39.89 kB / 0.9556 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.006618, allocations: 135.8 kB / 0.9557 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.007018, allocations: 494.8 kB / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.007021, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.403e-06/0.007022, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.007028, allocations: 0 / 0.9562 GB, free: 14.44 MB / 0.9167 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.0006686/0.007696, allocations: 0.58 MB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.007737, allocations: 8.031 kB / 0.9567 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.007814, allocations: 28.84 kB / 0.9568 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.008062, allocations: 205.5 kB / 0.957 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.008082, allocations: 16.38 kB / 0.957 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.008127, allocations: 28.38 kB / 0.957 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.008342, allocations: 153.5 kB / 0.9572 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.008355, allocations: 192 / 0.9572 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.008369, allocations: 8.359 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.008376, allocations: 4.375 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.008484, allocations: 87.83 kB / 0.9573 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006296/0.009114, allocations: 0.5703 MB / 0.9578 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.009267, allocations: 86.55 kB / 0.9579 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.348e-05/0.009321, allocations: 40.83 kB / 0.9579 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.009332, allocations: 0 / 0.9579 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.009546, allocations: 165.1 kB / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.009547, allocations: 0 / 0.9581 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.0003639/0.009911, allocations: 239.7 kB / 0.9583 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.009949, allocations: 67.42 kB / 0.9584 GB, free: 12 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.01006, allocations: 191.3 kB / 0.9586 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.0101, allocations: 37.7 kB / 0.9586 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.01018, allocations: 132.6 kB / 0.9587 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.0102, allocations: 47.67 kB / 0.9588 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.01032, allocations: 113.6 kB / 0.9589 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.01041, allocations: 330.8 kB / 0.9592 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.01069, allocations: 308.3 kB / 0.9595 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.011, allocations: 386.6 kB / 0.9599 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.01134, allocations: 416.5 kB / 0.9603 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01134, allocations: 0 / 0.9603 GB, free: 9.887 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007214/0.01206, allocations: 0.781 MB / 0.961 GB, free: 9.039 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.01214, allocations: 156.5 kB / 0.9612 GB, free: 8.855 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.01215, allocations: 4 kB / 0.9612 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01216, allocations: 7.984 kB / 0.9612 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.01219, allocations: 11.94 kB / 0.9612 GB, free: 8.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.0122, allocations: 4 kB / 0.9612 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.01258, allocations: 140 kB / 0.9613 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.01263, allocations: 35.97 kB / 0.9614 GB, free: 8.656 MB / 0.9167 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.0001265/0.01276, allocations: 161.5 kB / 0.9615 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.01277, allocations: 19.86 kB / 0.9615 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.01281, allocations: 25.78 kB / 0.9616 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.01281, allocations: 4 kB / 0.9616 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01282, allocations: 0 / 0.9616 GB, free: 8.438 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.01283, allocations: 3.938 kB / 0.9616 GB, free: 8.434 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.01324, allocations: 438 kB / 0.962 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01324, allocations: 0 / 0.962 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-06/0.01325, allocations: 4 kB / 0.962 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01325, allocations: 4 kB / 0.962 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.01326, allocations: 11.98 kB / 0.962 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01327, allocations: 3.938 kB / 0.962 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01327, allocations: 0 / 0.962 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.01349, allocations: 281.7 kB / 0.9623 GB, free: 7.656 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.01351, allocations: 19.84 kB / 0.9623 GB, free: 7.637 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01352, allocations: 7.984 kB / 0.9623 GB, free: 7.629 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.01356, allocations: 7.938 kB / 0.9623 GB, free: 7.621 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.01361, allocations: 23.91 kB / 0.9623 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01363, allocations: 15.98 kB / 0.9624 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.01369, allocations: 119.2 kB / 0.9625 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01369, allocations: 4 kB / 0.9625 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002444/0.01393, allocations: 83.95 kB / 0.9626 GB, free: 7.379 MB / 0.9167 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.0001561/0.01409, allocations: 116 kB / 0.9627 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005863/0.01468, allocations: 0.6926 MB / 0.9633 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01468, allocations: 8.625 kB / 0.9633 GB, free: 6.465 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.979e-05/0.01476, allocations: 67.91 kB / 0.9634 GB, free: 6.398 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.01503, allocations: 51.84 kB / 0.9635 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.01555, allocations: 352.5 kB / 0.9638 GB, free: 5.973 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.874e-05/0.01565, allocations: 120.2 kB / 0.9639 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.01568, allocations: 20.5 kB / 0.9639 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of SimCode: time 6.51e-07/0.01568, allocations: 0 / 0.9639 GB, free: 5.816 MB / 0.9167 GB Notification: Performance of Templates: time 0.003726/0.01941, allocations: 3.381 MB / 0.9672 GB, free: 2.465 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.943412138149142]