Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 104.6 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 195.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.2 MB / 0.665 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.94 kB / 0.8127 GB, free: 32.38 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2608, allocations: 140.4 MB / 0.9498 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00247/0.2633, allocations: 0.8974 MB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.2654, allocations: 1.475 MB / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2655, allocations: 0 / 0.9521 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.2657, allocations: 15.86 kB / 0.9521 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.2658, allocations: 27.77 kB / 0.9521 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.2672, allocations: 0.4904 MB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005996/0.2678, allocations: 499.2 kB / 0.9531 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.2679, allocations: 45.47 kB / 0.9531 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.2682, allocations: 183.7 kB / 0.9533 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.2684, allocations: 143.6 kB / 0.9535 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.2686, allocations: 40 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2687, allocations: 51.98 kB / 0.9535 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.2688, allocations: 43.84 kB / 0.9536 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.269, allocations: 167.5 kB / 0.9537 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.2694, allocations: 291.6 kB / 0.954 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2694, allocations: 4 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2694, allocations: 0 / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.2694, allocations: 0 / 0.954 GB, free: 4.836 MB / 0.7325 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.0009013/0.2703, allocations: 0.6476 MB / 0.9547 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2704, allocations: 12.03 kB / 0.9547 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2705, allocations: 32.66 kB / 0.9547 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.2708, allocations: 260 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.2709, allocations: 16.38 kB / 0.955 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.2709, allocations: 32.36 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.2712, allocations: 155.8 kB / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2712, allocations: 192 / 0.9551 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.2712, allocations: 11.94 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2712, allocations: 0 / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.2714, allocations: 79.89 kB / 0.9552 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.2722, allocations: 0.7186 MB / 0.9559 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.2724, allocations: 163.7 kB / 0.9561 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.2725, allocations: 52.95 kB / 0.9561 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2725, allocations: 4.094 kB / 0.9561 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.2728, allocations: 156.7 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.2728, allocations: 0 / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004362/0.2733, allocations: 243.2 kB / 0.9565 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.2733, allocations: 63.39 kB / 0.9566 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.2735, allocations: 174.3 kB / 0.9568 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.2735, allocations: 41.7 kB / 0.9568 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2736, allocations: 124.5 kB / 0.9569 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.2737, allocations: 47.44 kB / 0.957 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.2739, allocations: 113.6 kB / 0.9571 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.274, allocations: 330.8 kB / 0.9574 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.2743, allocations: 155.8 kB / 0.9575 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.2747, allocations: 238.2 kB / 0.9578 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.2751, allocations: 409 kB / 0.9581 GB, free: 240 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2751, allocations: 4 kB / 0.9582 GB, free: 236 kB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009522/0.2761, allocations: 0.6186 MB / 0.9588 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.663e-05/0.2762, allocations: 160.5 kB / 0.9589 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2762, allocations: 3.938 kB / 0.9589 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.2762, allocations: 4 kB / 0.9589 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.2763, allocations: 16.27 kB / 0.9589 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.2763, allocations: 8 kB / 0.9589 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.2771, allocations: 143.6 kB / 0.9591 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/0.2772, allocations: 39.97 kB / 0.9591 GB, free: 15.18 MB / 0.7481 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.0001712/0.2774, allocations: 157.7 kB / 0.9593 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.2774, allocations: 15.81 kB / 0.9593 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.974e-05/0.2774, allocations: 17.81 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2774, allocations: 4 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2775, allocations: 0 / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.2775, allocations: 3.984 kB / 0.9593 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.278, allocations: 0.5061 MB / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.278, allocations: 0 / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.278, allocations: 4 kB / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2781, allocations: 3.938 kB / 0.9598 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2781, allocations: 15.92 kB / 0.9598 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2781, allocations: 0 / 0.9598 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2781, allocations: 0 / 0.9598 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.2784, allocations: 285.8 kB / 0.9601 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.319e-05/0.2785, allocations: 100.8 kB / 0.9602 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.2785, allocations: 3.984 kB / 0.9602 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.2786, allocations: 4 kB / 0.9602 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/0.2786, allocations: 19.97 kB / 0.9602 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2787, allocations: 8 kB / 0.9602 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.053e-05/0.2788, allocations: 124.2 kB / 0.9603 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.503e-06/0.2788, allocations: 0 / 0.9603 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000397/0.2792, allocations: 91.83 kB / 0.9604 GB, free: 13.73 MB / 0.7481 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.2794, allocations: 115.2 kB / 0.9605 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007723/0.2802, allocations: 0.6178 MB / 0.9611 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2802, allocations: 4 kB / 0.9611 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2803, allocations: 83.89 kB / 0.9612 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.2808, allocations: 48.58 kB / 0.9613 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.2814, allocations: 405.9 kB / 0.9617 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2817, allocations: 0.7281 MB / 0.9624 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.358e-05/0.2817, allocations: 19.44 kB / 0.9624 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2817, allocations: 0 / 0.9624 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.005703/0.2874, allocations: 3.335 MB / 0.9656 GB, free: 8.285 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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