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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001164/0.001164, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.398/1.398, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.889/2.889, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 66.17 kB / 0.8991 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3317, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002488/0.3342, allocations: 0.8868 MB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3365, allocations: 1.545 MB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3367, allocations: 4 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.3368, allocations: 15.86 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.3369, allocations: 23.78 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3383, allocations: 491.7 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.3388, allocations: 423.2 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.339, allocations: 41.48 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.3393, allocations: 171.6 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.3395, allocations: 135.6 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.3397, allocations: 24 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3398, allocations: 31.98 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.3399, allocations: 43.89 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.3401, allocations: 143.5 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3405, allocations: 291.5 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3405, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3405, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.3405, allocations: 4 kB / 1.057 GB, free: 4.062 MB / 0.8106 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.0009521/0.3415, allocations: 0.6477 MB / 1.058 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3415, allocations: 11.97 kB / 1.058 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.3417, allocations: 32.75 kB / 1.058 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.342, allocations: 252.1 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.342, allocations: 16.38 kB / 1.058 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.3421, allocations: 36.36 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.3424, allocations: 153.3 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3424, allocations: 192 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.3425, allocations: 11.94 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3425, allocations: 4 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.3426, allocations: 77.98 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009525/0.3436, allocations: 0.7109 MB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.3438, allocations: 171.6 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.671e-05/0.3439, allocations: 44.83 kB / 1.059 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3439, allocations: 4 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.3443, allocations: 163.4 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.3443, allocations: 0 / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004875/0.3448, allocations: 238.5 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3449, allocations: 59.39 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.345, allocations: 187.7 kB / 1.06 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.3451, allocations: 37.7 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.3452, allocations: 124.5 kB / 1.06 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3453, allocations: 47.44 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.3455, allocations: 113.6 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3457, allocations: 334.8 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/0.346, allocations: 155.9 kB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3464, allocations: 242.1 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.3469, allocations: 403.9 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3469, allocations: 0 / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00101/0.3479, allocations: 0.6189 MB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/0.348, allocations: 160.5 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.348, allocations: 7.938 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.3481, allocations: 7.938 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.3481, allocations: 7.984 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3481, allocations: 8.031 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000812/0.3489, allocations: 151.8 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/0.349, allocations: 31.97 kB / 1.062 GB, free: 14.41 MB / 0.8262 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.0002114/0.3492, allocations: 165.5 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.3493, allocations: 15.81 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.3493, allocations: 25.8 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.3493, allocations: 4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3494, allocations: 0 / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.3494, allocations: 3.984 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.3499, allocations: 0.5076 MB / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.35, allocations: 0 / 1.063 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.35, allocations: 7.938 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.35, allocations: 4 kB / 1.063 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.35, allocations: 11.98 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.35, allocations: 0 / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.35, allocations: 0 / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.3503, allocations: 276.6 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.3504, allocations: 96.84 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.3504, allocations: 11.94 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.476e-05/0.3505, allocations: 4 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.3506, allocations: 27.91 kB / 1.063 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.3506, allocations: 12 kB / 1.063 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.919e-05/0.3507, allocations: 119.2 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3507, allocations: 0 / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003786/0.3511, allocations: 80 kB / 1.063 GB, free: 12.96 MB / 0.8262 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.0002062/0.3513, allocations: 103.2 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008144/0.3521, allocations: 0.6179 MB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3521, allocations: 0 / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.3523, allocations: 81.28 kB / 1.064 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.3527, allocations: 59.33 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.3534, allocations: 391.8 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.3537, allocations: 0.7284 MB / 1.065 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.3537, allocations: 15.44 kB / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.3538, allocations: 0 / 1.065 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of Templates: time 0.006359/0.3601, allocations: 3.321 MB / 1.068 GB, free: 7.559 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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