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.001695/0.001695, allocations: 108 kB / 15.61 MB, free: 152 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.002244/0.002245, allocations: 196.2 kB / 16.53 MB, free: 6.664 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.585/1.585, allocations: 222.9 MB / 240.2 MB, free: 4.43 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.845/2.845, allocations: 437 MB / 0.7104 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8071, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002298/0.8095, allocations: 0.8328 MB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002246/0.8117, allocations: 1.479 MB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.8119, allocations: 7.938 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.812, allocations: 19.8 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.021e-05/0.8122, allocations: 31.7 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001442/0.8136, allocations: 0.5078 MB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.8143, allocations: 0.4953 MB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.8144, allocations: 41.47 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.8147, allocations: 191.6 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002112/0.8149, allocations: 147.5 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.451e-05/0.815, allocations: 40 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.8151, allocations: 51.98 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.038e-05/0.8152, allocations: 39.89 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.8155, allocations: 167.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.8161, allocations: 404.9 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.8161, allocations: 3.984 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.098e-06/0.8161, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.8161, allocations: 4 kB / 1.022 GB, free: 14.08 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.0009532/0.8171, allocations: 0.6398 MB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.8171, allocations: 11.98 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.8173, allocations: 32.66 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.8176, allocations: 263.9 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.8177, allocations: 20.36 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.8178, allocations: 36.38 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.818, allocations: 147.9 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.8181, allocations: 192 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.8181, allocations: 11.88 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.8181, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002379/0.8184, allocations: 83.94 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009778/0.8193, allocations: 0.6993 MB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.8196, allocations: 171.6 kB / 1.024 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.26e-05/0.8197, allocations: 48.84 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.8197, allocations: 4 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/0.8201, allocations: 155.2 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.8201, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0005239/0.8206, allocations: 247.2 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.8207, allocations: 59.41 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.8209, allocations: 183.2 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.8209, allocations: 37.7 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.8211, allocations: 132.5 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.8211, allocations: 35.53 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.8213, allocations: 113.6 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.8215, allocations: 326.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.8219, allocations: 155.9 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.8223, allocations: 245.4 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00053/0.8228, allocations: 402.6 kB / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.8228, allocations: 0 / 1.026 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001138/0.824, allocations: 0.6208 MB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.8241, allocations: 172.4 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.8242, allocations: 7.938 kB / 1.027 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8242, allocations: 8.281 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.965e-05/0.8242, allocations: 11.94 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.8243, allocations: 7.938 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009091/0.8252, allocations: 143.6 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.8253, allocations: 35.97 kB / 1.027 GB, free: 8.426 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.0002303/0.8255, allocations: 149.6 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.8255, allocations: 19.75 kB / 1.027 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.8256, allocations: 29.8 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.8256, allocations: 4 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.8256, allocations: 4 kB / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.8256, allocations: 0 / 1.027 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.8263, allocations: 0.5001 MB / 1.027 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.8263, allocations: 4 kB / 1.027 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.8264, allocations: 15.92 kB / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.8264, allocations: 0 / 1.027 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.8264, allocations: 7.984 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.8264, allocations: 0 / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8264, allocations: 0 / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.8268, allocations: 289.2 kB / 1.028 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.8268, allocations: 88.92 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.8269, allocations: 8 kB / 1.028 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.8269, allocations: 3.984 kB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.777e-05/0.827, allocations: 15.98 kB / 1.028 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.827, allocations: 15.98 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001119/0.8272, allocations: 115.2 kB / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.665e-06/0.8272, allocations: 0 / 1.028 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003989/0.8276, allocations: 91.78 kB / 1.028 GB, free: 6.988 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.0002591/0.8278, allocations: 118 kB / 1.028 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009807/0.8288, allocations: 0.6256 MB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8288, allocations: 0.6875 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.829, allocations: 79.84 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.8294, allocations: 47.91 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007008/0.8301, allocations: 322.3 kB / 1.029 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.8306, allocations: 0.7319 MB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.718e-05/0.8307, allocations: 21.53 kB / 1.03 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.8307, allocations: 27.38 kB / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of SimCode: time 7.71e-07/0.8307, allocations: 0 / 1.03 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of Templates: time 0.01069/0.8414, allocations: 4.555 MB / 1.034 GB, free: 408 kB / 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