Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001569/0.001569, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002471/0.002471, allocations: 197.9 kB / 16.14 MB, free: 6.711 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.45/1.45, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 67.89 kB / 0.8686 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8265/0.828, allocations: 151.6 MB / 1.017 GB, free: 2.988 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002105/0.8302, allocations: 0.8976 MB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.8322, allocations: 1.534 MB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.8322, allocations: 8 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.8324, allocations: 11.86 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.562e-05/0.8325, allocations: 31.77 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.8336, allocations: 487.8 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000433/0.8341, allocations: 415.3 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.8342, allocations: 45.45 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.8344, allocations: 163.6 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.8346, allocations: 135.6 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.8347, allocations: 24 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.8348, allocations: 39.92 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.8349, allocations: 35.91 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.8351, allocations: 151.5 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.8355, allocations: 397 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8355, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8355, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5e-06/0.8355, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 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.0008035/0.8363, allocations: 0.6514 MB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.8364, allocations: 19.97 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.8365, allocations: 32.69 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.8368, allocations: 256.1 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.8368, allocations: 16.38 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.885e-05/0.8369, allocations: 32.38 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.8372, allocations: 153.3 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.8372, allocations: 4.172 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.8372, allocations: 11.92 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8372, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.8374, allocations: 81.78 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.8382, allocations: 0.711 MB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.8384, allocations: 167.6 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.132e-05/0.8385, allocations: 52.83 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.8385, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002491/0.8388, allocations: 155.3 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.8388, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004508/0.8393, allocations: 243.2 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.8393, allocations: 59.41 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.8395, allocations: 183.2 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.8396, allocations: 37.7 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.8397, allocations: 124.5 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.8397, allocations: 43.5 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.8399, allocations: 113.6 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.8401, allocations: 326.8 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.8404, allocations: 151.9 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.8407, allocations: 246.1 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.8412, allocations: 410.5 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8412, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009441/0.8422, allocations: 0.6263 MB / 1.026 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.8423, allocations: 164.5 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.8423, allocations: 4.031 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.8423, allocations: 8.281 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.8424, allocations: 15.98 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.8424, allocations: 7.938 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008019/0.8432, allocations: 143.6 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.8433, allocations: 28.05 kB / 1.026 GB, free: 8.984 MB / 0.7794 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.000191/0.8434, allocations: 162 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.8435, allocations: 23.8 kB / 1.026 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.8435, allocations: 17.81 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.8435, allocations: 4 kB / 1.026 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8436, allocations: 4 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8436, allocations: 0 / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.8441, allocations: 0.5061 MB / 1.027 GB, free: 8.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8442, allocations: 3.938 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.879e-05/0.8442, allocations: 4 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.8442, allocations: 0 / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.8442, allocations: 7.984 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8442, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.8442, allocations: 0 / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.8446, allocations: 284.8 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.8446, allocations: 96.86 kB / 1.027 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.8447, allocations: 7.984 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.8447, allocations: 0 / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.8448, allocations: 23.97 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8448, allocations: 8 kB / 1.027 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.858e-05/0.8449, allocations: 124.8 kB / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8449, allocations: 0 / 1.027 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003595/0.8453, allocations: 87.83 kB / 1.027 GB, free: 7.543 MB / 0.7794 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.0002315/0.8455, allocations: 108.4 kB / 1.027 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0008042/0.8463, allocations: 0.6155 MB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8464, allocations: 0.6875 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.8465, allocations: 79.91 kB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.8469, allocations: 55.72 kB / 1.028 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.8476, allocations: 372.1 kB / 1.028 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.8479, allocations: 0.7286 MB / 1.029 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.76e-05/0.848, allocations: 25.53 kB / 1.029 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.61e-05/0.848, allocations: 15.44 kB / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.848, allocations: 0 / 1.029 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.007823/0.8559, allocations: 4.338 MB / 1.033 GB, free: 1.145 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches