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.001418/0.001418, allocations: 113.2 kB / 16.37 MB, free: 6.004 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.001501/0.001501, allocations: 196 kB / 17.31 MB, free: 5.613 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.457/2.457, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 60.16 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3378, allocations: 151.7 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00248/0.3404, allocations: 0.8369 MB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3425, allocations: 1.477 MB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3427, allocations: 0 / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.3428, allocations: 23.8 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.843e-05/0.343, allocations: 27.72 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.3446, allocations: 0.5204 MB / 1.022 GB, free: 6.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0006465/0.3452, allocations: 0.4991 MB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.3454, allocations: 37.48 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.3457, allocations: 191.7 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.346, allocations: 171.4 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.731e-05/0.3461, allocations: 44 kB / 1.023 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3462, allocations: 51.98 kB / 1.023 GB, free: 5.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.469e-05/0.3463, allocations: 47.89 kB / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.3465, allocations: 163.5 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.3469, allocations: 414.8 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.347, allocations: 4 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.152e-06/0.347, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.347, allocations: 0 / 1.023 GB, free: 5.359 MB / 0.795 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.0008888/0.3479, allocations: 0.6514 MB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3479, allocations: 16.88 kB / 1.024 GB, free: 4.609 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.348, allocations: 28.75 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.3484, allocations: 249.1 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.3484, allocations: 20.38 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.3485, allocations: 36.31 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.3487, allocations: 149 kB / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.3488, allocations: 192 / 1.024 GB, free: 4.09 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.3488, allocations: 11.92 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3488, allocations: 8 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3489, allocations: 83.89 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009208/0.3499, allocations: 0.7031 MB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.3501, allocations: 167.7 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.27e-05/0.3502, allocations: 48.83 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3502, allocations: 4 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003282/0.3505, allocations: 157 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 2.164e-06/0.3506, allocations: 0 / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.000613/0.3512, allocations: 241.3 kB / 1.026 GB, free: 2.578 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.3512, allocations: 63.34 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.3515, allocations: 186.2 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.3516, allocations: 37.7 kB / 1.026 GB, free: 2.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.3517, allocations: 128.5 kB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.3518, allocations: 35.45 kB / 1.026 GB, free: 2.105 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.3521, allocations: 113.7 kB / 1.026 GB, free: 1.988 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3523, allocations: 330.8 kB / 1.027 GB, free: 1.656 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.3527, allocations: 163.9 kB / 1.027 GB, free: 1.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.3532, allocations: 235.5 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.3539, allocations: 413 kB / 1.027 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3539, allocations: 0 / 1.027 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001365/0.3553, allocations: 0.6169 MB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.3555, allocations: 160.5 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.3555, allocations: 7.938 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3555, allocations: 4.344 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.3556, allocations: 19.92 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3556, allocations: 4 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.3566, allocations: 139.6 kB / 1.028 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.3567, allocations: 35.97 kB / 1.028 GB, free: 15.71 MB / 0.8106 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.0002463/0.357, allocations: 153.7 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.357, allocations: 19.75 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3571, allocations: 21.81 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3571, allocations: 0 / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.3571, allocations: 4 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3571, allocations: 7.984 kB / 1.028 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.3579, allocations: 0.5079 MB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3579, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.3579, allocations: 0 / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3579, allocations: 4.062 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.358, allocations: 11.98 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.358, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.358, allocations: 0 / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004133/0.3584, allocations: 293.2 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.3585, allocations: 96.84 kB / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.3585, allocations: 0 / 1.029 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.897e-05/0.3586, allocations: 8 kB / 1.029 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.3587, allocations: 19.97 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.3588, allocations: 8 kB / 1.029 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001173/0.3589, allocations: 116.2 kB / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3589, allocations: 0 / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005173/0.3594, allocations: 79.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 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.0002678/0.3597, allocations: 120.4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.3607, allocations: 0.6101 MB / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3608, allocations: 0 / 1.03 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.3609, allocations: 76.55 kB / 1.03 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.3615, allocations: 67.8 kB / 1.03 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008011/0.3623, allocations: 314.5 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3627, allocations: 0.7321 MB / 1.031 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.422e-05/0.3628, allocations: 25.53 kB / 1.031 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.3628, allocations: 23.44 kB / 1.031 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3628, allocations: 0 / 1.031 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.01216/0.375, allocations: 4.562 MB / 1.036 GB, free: 7.699 MB / 0.8106 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 -s gbode -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) Reference file matches