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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001491/0.001491, 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.001863/0.001863, allocations: 196.8 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.662/2.662, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8273, allocations: 140.4 MB / 0.9489 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.003133/0.8306, allocations: 0.8879 MB / 0.9498 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.8329, allocations: 1.53 MB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.659e-05/0.833, allocations: 2.281 kB / 0.9513 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.8332, allocations: 16.98 kB / 0.9513 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.369e-05/0.8333, allocations: 26.52 kB / 0.9513 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.8344, allocations: 497.7 kB / 0.9518 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.8349, allocations: 418.5 kB / 0.9522 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.835, allocations: 42.94 kB / 0.9523 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.8352, allocations: 170.5 kB / 0.9524 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.8354, allocations: 138.8 kB / 0.9525 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.73e-05/0.8355, allocations: 24.31 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.8356, allocations: 34.16 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.245e-05/0.8357, allocations: 35.34 kB / 0.9526 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.8359, allocations: 147.3 kB / 0.9528 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.8363, allocations: 394.9 kB / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8363, allocations: 0 / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.8364, allocations: 0 / 0.9532 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.8364, allocations: 4 kB / 0.9532 GB, free: 6.043 MB / 0.7169 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.0007525/0.8371, allocations: 0.6445 MB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.8372, allocations: 9.156 kB / 0.9538 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.8373, allocations: 31.59 kB / 0.9538 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.8376, allocations: 259.8 kB / 0.9541 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.8376, allocations: 17.25 kB / 0.9541 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.8377, allocations: 32.83 kB / 0.9541 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.8379, allocations: 158.2 kB / 0.9543 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8379, allocations: 4.188 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.838, allocations: 9.406 kB / 0.9543 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.838, allocations: 8.172 kB / 0.9543 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.8381, allocations: 79.86 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/0.8389, allocations: 0.7202 MB / 0.9551 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.8391, allocations: 166.2 kB / 0.9552 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.561e-05/0.8392, allocations: 46.42 kB / 0.9553 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.8392, allocations: 1.156 kB / 0.9553 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.8394, allocations: 158.6 kB / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.8394, allocations: 0 / 0.9554 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004507/0.8399, allocations: 240.7 kB / 0.9557 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.8399, allocations: 67.19 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.8401, allocations: 183.5 kB / 0.9559 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.8401, allocations: 37.98 kB / 0.9559 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.8402, allocations: 123.9 kB / 0.956 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.8403, allocations: 43.34 kB / 0.9561 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.8404, allocations: 112.4 kB / 0.9562 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.8405, allocations: 331.1 kB / 0.9565 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.8408, allocations: 154.4 kB / 0.9567 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.8411, allocations: 240.1 kB / 0.9569 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.8415, allocations: 405.2 kB / 0.9573 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8416, allocations: 1.469 kB / 0.9573 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009219/0.8425, allocations: 0.6267 MB / 0.9579 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.8426, allocations: 160.5 kB / 0.958 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.8426, allocations: 6.469 kB / 0.958 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.8426, allocations: 4.688 kB / 0.9581 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.926e-05/0.8427, allocations: 13.52 kB / 0.9581 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.8427, allocations: 8.094 kB / 0.9581 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008159/0.8435, allocations: 147.1 kB / 0.9582 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.834e-05/0.8436, allocations: 35.03 kB / 0.9582 GB, free: 1.832 MB / 0.7169 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.0001598/0.8437, allocations: 159 kB / 0.9584 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.8438, allocations: 15.81 kB / 0.9584 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.8438, allocations: 21.09 kB / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8438, allocations: 2.156 kB / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.8438, allocations: 0 / 0.9584 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8438, allocations: 5.109 kB / 0.9584 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/0.8444, allocations: 0.5105 MB / 0.9589 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8444, allocations: 8.062 kB / 0.9589 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.8444, allocations: 3.344 kB / 0.959 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.8444, allocations: 1.75 kB / 0.959 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.8445, allocations: 10.27 kB / 0.959 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.8445, allocations: 1.125 kB / 0.959 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8445, allocations: 0 / 0.959 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.8447, allocations: 289.8 kB / 0.9592 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.8448, allocations: 89.61 kB / 0.9593 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.8448, allocations: 6.281 kB / 0.9593 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.8449, allocations: 5.125 kB / 0.9593 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.845, allocations: 20.03 kB / 0.9594 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.845, allocations: 6.031 kB / 0.9594 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.222e-05/0.8451, allocations: 127.9 kB / 0.9595 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8451, allocations: 0 / 0.9595 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003762/0.8454, allocations: 84.53 kB / 0.9596 GB, free: 0.7695 MB / 0.7169 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.0001616/0.8456, allocations: 114.4 kB / 0.9597 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006965/0.8463, allocations: 0.6101 MB / 0.9603 GB, free: 200 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8463, allocations: 3.938 kB / 0.9603 GB, free: 196 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.8465, allocations: 77.91 kB / 0.9603 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.8469, allocations: 50.61 kB / 0.9604 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.8475, allocations: 372.4 kB / 0.9607 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.8479, allocations: 0.7247 MB / 0.9615 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.24e-05/0.848, allocations: 24.17 kB / 0.9615 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.848, allocations: 18.25 kB / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.848, allocations: 0 / 0.9615 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.009069/0.8571, allocations: 4.34 MB / 0.9657 GB, free: 12.92 MB / 0.7325 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 -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/jenkins/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