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.001667/0.001667, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002071/0.002071, allocations: 195.8 kB / 16.14 MB, free: 6.629 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.625/1.625, allocations: 222.9 MB / 239.8 MB, free: 4.508 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 3.021/3.021, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 67.91 kB / 0.8686 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8085/0.8108, allocations: 151.6 MB / 1.017 GB, free: 2.73 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002302/0.8131, allocations: 0.9015 MB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.8153, allocations: 1.534 MB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.613e-05/0.8154, allocations: 3.938 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.8155, allocations: 15.86 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.644e-05/0.8156, allocations: 27.77 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.8169, allocations: 491.7 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004932/0.8174, allocations: 419.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.8176, allocations: 49.45 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.8177, allocations: 155.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.8179, allocations: 131.6 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.453e-05/0.818, allocations: 28 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.8181, allocations: 43.92 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.8182, allocations: 43.83 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.8184, allocations: 147.5 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004685/0.8189, allocations: 388.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8189, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.02e-07/0.8189, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.8189, allocations: 0 / 1.021 GB, free: 14.38 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.0009062/0.8199, allocations: 0.6514 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.8199, allocations: 11.98 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.82, allocations: 32.75 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.8204, allocations: 260 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.8204, allocations: 20.31 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.8205, allocations: 36.31 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.8208, allocations: 149.6 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.8208, allocations: 192 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.8209, allocations: 7.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.8209, allocations: 4 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.821, allocations: 83.94 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009543/0.822, allocations: 0.7109 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.8222, allocations: 167.7 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.215e-05/0.8223, allocations: 44.84 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.8223, allocations: 7.984 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003262/0.8227, allocations: 161.2 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.8227, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0005003/0.8232, allocations: 243.5 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.8233, allocations: 55.41 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.8235, allocations: 182.1 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.121e-05/0.8235, allocations: 37.7 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.8237, allocations: 128.5 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.8237, allocations: 35.52 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.8239, allocations: 113.7 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.8241, allocations: 334.8 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.8245, allocations: 159.9 kB / 1.024 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.8249, allocations: 234.2 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.8254, allocations: 410.5 kB / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.8254, allocations: 0 / 1.025 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001178/0.8266, allocations: 0.6228 MB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/0.8268, allocations: 168.5 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.8268, allocations: 11.94 kB / 1.026 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.757e-05/0.8268, allocations: 4 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.8269, allocations: 7.938 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.8269, allocations: 4 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008737/0.8278, allocations: 143.6 kB / 1.026 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.8278, allocations: 35.97 kB / 1.026 GB, free: 8.723 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.0001974/0.828, allocations: 154 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.8281, allocations: 19.75 kB / 1.026 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.8281, allocations: 33.8 kB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.8281, allocations: 4 kB / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8282, allocations: 0 / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8282, allocations: 0 / 1.026 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.8288, allocations: 0.5022 MB / 1.027 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.8288, allocations: 3.984 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.8288, allocations: 8 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8288, allocations: 0 / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.8288, allocations: 0 / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8289, allocations: 8 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8289, allocations: 0 / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.8292, allocations: 288.4 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.8293, allocations: 88.92 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.8293, allocations: 11.98 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.8294, allocations: 0 / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.8294, allocations: 19.97 kB / 1.027 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.8294, allocations: 12 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.352e-05/0.8296, allocations: 128.2 kB / 1.027 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.8296, allocations: 0 / 1.027 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003621/0.8299, allocations: 83.84 kB / 1.027 GB, free: 7.281 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.0002033/0.8301, allocations: 112.4 kB / 1.027 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001131/0.8313, allocations: 0.6185 MB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8313, allocations: 4.062 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.8315, allocations: 77.62 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.832, allocations: 43.91 kB / 1.028 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.8328, allocations: 368.2 kB / 1.028 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.8332, allocations: 0.7286 MB / 1.029 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.69e-05/0.8333, allocations: 21.55 kB / 1.029 GB, free: 5.199 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.8333, allocations: 23.42 kB / 1.029 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of SimCode: time 2.91e-07/0.8333, allocations: 0 / 1.029 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of Templates: time 0.008554/0.8419, allocations: 4.336 MB / 1.033 GB, free: 0.8906 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=400 -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