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.001438/0.001437, allocations: 110.4 kB / 16.37 MB, free: 6.477 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.001301/0.001302, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.19 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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 64.31 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3169, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002213/0.3192, allocations: 0.8523 MB / 0.952 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001809/0.321, allocations: 1.481 MB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.3211, allocations: 0 / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.3212, allocations: 19.81 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.796e-05/0.3213, allocations: 31.7 kB / 0.9535 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.3226, allocations: 0.5243 MB / 0.954 GB, free: 5.172 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005776/0.3231, allocations: 499.2 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3233, allocations: 41.48 kB / 0.9545 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.3235, allocations: 187.7 kB / 0.9547 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3237, allocations: 171.5 kB / 0.9548 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.698e-05/0.3238, allocations: 44 kB / 0.9549 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.3239, allocations: 55.92 kB / 0.9549 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6e-05/0.324, allocations: 43.91 kB / 0.955 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.3242, allocations: 159.5 kB / 0.9551 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.3246, allocations: 406.9 kB / 0.9555 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3246, allocations: 4 kB / 0.9555 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3246, allocations: 3.938 kB / 0.9555 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3246, allocations: 0 / 0.9555 GB, free: 3.582 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.0007837/0.3254, allocations: 0.6477 MB / 0.9561 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3255, allocations: 12.03 kB / 0.9562 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.3256, allocations: 36.59 kB / 0.9562 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.3259, allocations: 256 kB / 0.9564 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.326, allocations: 20.38 kB / 0.9565 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.059e-05/0.326, allocations: 32.36 kB / 0.9565 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3263, allocations: 149.8 kB / 0.9566 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3263, allocations: 192 / 0.9566 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3263, allocations: 11.94 kB / 0.9566 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.3263, allocations: 7.938 kB / 0.9566 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.3265, allocations: 79.95 kB / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.3274, allocations: 0.703 MB / 0.9574 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.3276, allocations: 175.6 kB / 0.9576 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.119e-05/0.3277, allocations: 48.83 kB / 0.9576 GB, free: 1.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3277, allocations: 4 kB / 0.9576 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.328, allocations: 160.1 kB / 0.9578 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.328, allocations: 4 kB / 0.9578 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004582/0.3285, allocations: 243.3 kB / 0.958 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.3285, allocations: 63.39 kB / 0.9581 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.3287, allocations: 179.8 kB / 0.9582 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.3287, allocations: 37.7 kB / 0.9583 GB, free: 496 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3288, allocations: 128.5 kB / 0.9584 GB, free: 364 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.3289, allocations: 43.44 kB / 0.9584 GB, free: 320 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.3291, allocations: 113.6 kB / 0.9586 GB, free: 200 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3292, allocations: 326.8 kB / 0.9589 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/0.3295, allocations: 159.9 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.3299, allocations: 242.1 kB / 0.9592 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.3303, allocations: 409.8 kB / 0.9596 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.3303, allocations: 0 / 0.9596 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009446/0.3313, allocations: 0.6108 MB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.3314, allocations: 164.5 kB / 0.9604 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3314, allocations: 7.938 kB / 0.9604 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3314, allocations: 8.344 kB / 0.9604 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.587e-05/0.3315, allocations: 11.92 kB / 0.9604 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3315, allocations: 4 kB / 0.9604 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.3322, allocations: 143.5 kB / 0.9606 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.3323, allocations: 35.97 kB / 0.9606 GB, free: 13.93 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.000162/0.3324, allocations: 154.4 kB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.3325, allocations: 15.81 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.3325, allocations: 29.73 kB / 0.9608 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3325, allocations: 4.078 kB / 0.9608 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3325, allocations: 11.94 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3325, allocations: 0 / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.3331, allocations: 0.5002 MB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3331, allocations: 0 / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.3332, allocations: 11.92 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3332, allocations: 4 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.3332, allocations: 0 / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3332, allocations: 7.938 kB / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3332, allocations: 0 / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.3335, allocations: 287.2 kB / 0.9616 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.3335, allocations: 92.86 kB / 0.9617 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3336, allocations: 4 kB / 0.9617 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.3337, allocations: 7.984 kB / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.3337, allocations: 15.98 kB / 0.9617 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.3337, allocations: 8 kB / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.707e-05/0.3338, allocations: 123.2 kB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3338, allocations: 0 / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003551/0.3342, allocations: 79.91 kB / 0.9619 GB, free: 12.49 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.0001774/0.3344, allocations: 115.2 kB / 0.962 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00074/0.3351, allocations: 0.6121 MB / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3351, allocations: 0 / 0.9626 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3352, allocations: 76.59 kB / 0.9627 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.3357, allocations: 55.89 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005659/0.3362, allocations: 324.2 kB / 0.963 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.3365, allocations: 0.732 MB / 0.9638 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.41e-05/0.3366, allocations: 21.55 kB / 0.9638 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.3367, allocations: 23.38 kB / 0.9638 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.3367, allocations: 0 / 0.9638 GB, free: 10.42 MB / 0.7481 GB Notification: Performance of Templates: time 0.007968/0.3446, allocations: 4.569 MB / 0.9683 GB, free: 5.906 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 cvode -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