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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008715/0.0008756, allocations: 99.34 kB / 16.02 MB, free: 76 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.0009403/0.0009399, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.362/1.362, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004038, allocations: 12 kB / 0.8735 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6591, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001175/0.6603, allocations: 0.5512 MB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.6626, allocations: 1.522 MB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.6627, allocations: 3.938 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.6629, allocations: 15.86 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.6629, allocations: 27.77 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.6642, allocations: 493.1 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004828/0.6647, allocations: 423.2 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.6649, allocations: 45.45 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.6651, allocations: 159.7 kB / 1.027 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.6653, allocations: 127.6 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.958e-05/0.6653, allocations: 24 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.6655, allocations: 39.92 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.6655, allocations: 27.91 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.6657, allocations: 169.2 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.666, allocations: 285.2 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.666, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6661, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.6661, allocations: 0 / 1.027 GB, free: 11.97 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.0006855/0.6668, allocations: 0.589 MB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6668, allocations: 11.98 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.694e-05/0.6669, allocations: 28.75 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.6672, allocations: 260 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.626e-05/0.6673, allocations: 24.3 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.6674, allocations: 32.38 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.6677, allocations: 153.4 kB / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.6677, allocations: 192 / 1.029 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.6677, allocations: 7.938 kB / 1.029 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6677, allocations: 8 kB / 1.029 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.6679, allocations: 83.88 kB / 1.029 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008588/0.6688, allocations: 0.7071 MB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.669, allocations: 171.7 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.6691, allocations: 40.84 kB / 1.03 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.6691, allocations: 4 kB / 1.03 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.6694, allocations: 160.9 kB / 1.03 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.6694, allocations: 0 / 1.03 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004638/0.6699, allocations: 243.2 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.6699, allocations: 59.34 kB / 1.03 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.6701, allocations: 183.2 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.046e-05/0.6702, allocations: 37.7 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6703, allocations: 132.3 kB / 1.03 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.6703, allocations: 35.59 kB / 1.03 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.734e-05/0.6704, allocations: 53.78 kB / 1.03 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6706, allocations: 334.8 kB / 1.031 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.6709, allocations: 155.9 kB / 1.031 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.6713, allocations: 235.7 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.6718, allocations: 414.1 kB / 1.031 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6718, allocations: 4 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009707/0.6728, allocations: 0.6226 MB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.6729, allocations: 160.5 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6729, allocations: 3.938 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.6729, allocations: 4 kB / 1.032 GB, free: 6.637 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.681e-05/0.673, allocations: 15.94 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.673, allocations: 7.984 kB / 1.032 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.6739, allocations: 198.6 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.178e-05/0.674, allocations: 27.98 kB / 1.033 GB, free: 6.395 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.0002482/0.6743, allocations: 154.3 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.6743, allocations: 19.8 kB / 1.033 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.6743, allocations: 17.81 kB / 1.033 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6744, allocations: 4 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6744, allocations: 0 / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6744, allocations: 4 kB / 1.033 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006591/0.675, allocations: 0.5138 MB / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.675, allocations: 0 / 1.033 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.6751, allocations: 8 kB / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6751, allocations: 0 / 1.033 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.6751, allocations: 4 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6751, allocations: 3.984 kB / 1.033 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6751, allocations: 0 / 1.033 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003386/0.6755, allocations: 288.5 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.6755, allocations: 92.92 kB / 1.034 GB, free: 5.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.6755, allocations: 3.984 kB / 1.034 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.807e-05/0.6756, allocations: 4 kB / 1.034 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/0.6757, allocations: 23.91 kB / 1.034 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.6757, allocations: 16.06 kB / 1.034 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.031e-05/0.6758, allocations: 120.8 kB / 1.034 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6758, allocations: 0 / 1.034 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003705/0.6762, allocations: 83.92 kB / 1.034 GB, free: 4.957 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.0001882/0.6764, allocations: 116.4 kB / 1.034 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009012/0.6773, allocations: 0.6156 MB / 1.035 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6773, allocations: 0 / 1.035 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.6774, allocations: 84.58 kB / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.6779, allocations: 51.84 kB / 1.035 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.6785, allocations: 398.6 kB / 1.035 GB, free: 3.602 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.6788, allocations: 0.7325 MB / 1.036 GB, free: 2.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/0.6789, allocations: 19.44 kB / 1.036 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.6789, allocations: 0 / 1.036 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of Templates: time 0.005653/0.6845, allocations: 3.304 MB / 1.039 GB, free: 15.55 MB / 0.795 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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