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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001432/0.001432, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001514/0.001514, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 70 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2737, allocations: 140.4 MB / 0.9511 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002046/0.2758, allocations: 0.834 MB / 0.9519 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2775, allocations: 1.473 MB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.2776, allocations: 11.88 kB / 0.9534 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.2778, allocations: 19.8 kB / 0.9534 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.2778, allocations: 31.72 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.279, allocations: 0.5203 MB / 0.954 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000512/0.2795, allocations: 495.3 kB / 0.9544 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.2796, allocations: 45.47 kB / 0.9545 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.2798, allocations: 183.7 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.28, allocations: 175.5 kB / 0.9548 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.533e-05/0.2801, allocations: 40 kB / 0.9549 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2802, allocations: 55.98 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.2803, allocations: 47.84 kB / 0.955 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.2804, allocations: 159.5 kB / 0.9551 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.2808, allocations: 414.8 kB / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2808, allocations: 0 / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2809, allocations: 0 / 0.9555 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2809, allocations: 0 / 0.9555 GB, free: 3.539 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.0007505/0.2816, allocations: 0.6554 MB / 0.9561 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2817, allocations: 8.031 kB / 0.9561 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.63e-05/0.2818, allocations: 32.66 kB / 0.9562 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2821, allocations: 252.1 kB / 0.9564 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.2821, allocations: 16.38 kB / 0.9564 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.2822, allocations: 40.28 kB / 0.9565 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.2824, allocations: 153.8 kB / 0.9566 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2824, allocations: 4.172 kB / 0.9566 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2825, allocations: 7.938 kB / 0.9566 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2825, allocations: 8 kB / 0.9566 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.2826, allocations: 75.95 kB / 0.9567 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.2834, allocations: 0.7146 MB / 0.9574 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.2836, allocations: 167.7 kB / 0.9576 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.2837, allocations: 52.86 kB / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2837, allocations: 0 / 0.9576 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/0.2839, allocations: 156.3 kB / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.2839, allocations: 0 / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004167/0.2844, allocations: 247.2 kB / 0.958 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.2844, allocations: 51.41 kB / 0.9581 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2846, allocations: 191.8 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.2846, allocations: 45.64 kB / 0.9583 GB, free: 444 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2847, allocations: 120.5 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.2848, allocations: 47.44 kB / 0.9584 GB, free: 272 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.285, allocations: 113.6 kB / 0.9585 GB, free: 152 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2851, allocations: 330.8 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.2854, allocations: 151.9 kB / 0.959 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.2858, allocations: 242.1 kB / 0.9592 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.2863, allocations: 409 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.2863, allocations: 4 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009286/0.2872, allocations: 0.6162 MB / 0.9602 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.2873, allocations: 162.7 kB / 0.9604 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2873, allocations: 3.938 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2874, allocations: 4.344 kB / 0.9604 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.59e-05/0.2874, allocations: 23.98 kB / 0.9604 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2874, allocations: 4 kB / 0.9604 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.2881, allocations: 139.6 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.2882, allocations: 31.97 kB / 0.9606 GB, free: 13.88 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.0001716/0.2884, allocations: 165.5 kB / 0.9607 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2884, allocations: 15.81 kB / 0.9608 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.2884, allocations: 21.81 kB / 0.9608 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2884, allocations: 0 / 0.9608 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2885, allocations: 0 / 0.9608 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2885, allocations: 7.984 kB / 0.9608 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.289, allocations: 0.5022 MB / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.289, allocations: 0 / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.289, allocations: 4 kB / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.289, allocations: 0 / 0.9613 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2891, allocations: 11.98 kB / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2891, allocations: 0 / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2891, allocations: 0 / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.2893, allocations: 289 kB / 0.9616 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.135e-05/0.2894, allocations: 96.86 kB / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2894, allocations: 4 kB / 0.9617 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.2895, allocations: 0 / 0.9617 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.2896, allocations: 27.97 kB / 0.9617 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2896, allocations: 7.938 kB / 0.9617 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.004e-05/0.2897, allocations: 119.2 kB / 0.9618 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2897, allocations: 0 / 0.9618 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003404/0.29, allocations: 83.89 kB / 0.9619 GB, free: 12.45 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.0001689/0.2902, allocations: 119.1 kB / 0.962 GB, free: 12.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006852/0.2909, allocations: 0.6062 MB / 0.9626 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2909, allocations: 0 / 0.9626 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.291, allocations: 86.64 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.2914, allocations: 51.89 kB / 0.9627 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.292, allocations: 328.3 kB / 0.963 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.2923, allocations: 0.7281 MB / 0.9638 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.389e-05/0.2923, allocations: 25.53 kB / 0.9638 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.2924, allocations: 15.44 kB / 0.9638 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.2924, allocations: 0 / 0.9638 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.007506/0.2999, allocations: 4.571 MB / 0.9683 GB, free: 5.863 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 -s gbode -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) Reference file matches