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.00733/0.00733, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.00136/0.00136, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.11 kB / 0.9509 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3714, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.00213/0.3735, allocations: 0.8405 MB / 1.089 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.3755, allocations: 1.477 MB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.3756, allocations: 4 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.3758, allocations: 15.81 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.3758, allocations: 39.72 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3771, allocations: 0.518 MB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005585/0.3777, allocations: 0.5031 MB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3778, allocations: 33.48 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.378, allocations: 183.7 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.3783, allocations: 175.5 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.3784, allocations: 44 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.3785, allocations: 55.98 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.3786, allocations: 35.92 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.3788, allocations: 163.5 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.3793, allocations: 414.8 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3793, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.879e-06/0.3793, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.3793, allocations: 3.938 kB / 1.092 GB, free: 12.99 MB / 0.8575 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.000873/0.3802, allocations: 0.6476 MB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3802, allocations: 8.031 kB / 1.093 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.686e-05/0.3803, allocations: 32.75 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.3807, allocations: 257 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/0.3807, allocations: 20.36 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.3808, allocations: 28.38 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.381, allocations: 151.9 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3811, allocations: 192 / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3811, allocations: 7.938 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3811, allocations: 4 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.3813, allocations: 89.31 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008164/0.3821, allocations: 0.6992 MB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.3823, allocations: 175.6 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/0.3824, allocations: 41.03 kB / 1.094 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.3824, allocations: 7.938 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.3827, allocations: 159.2 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.493e-06/0.3827, allocations: 3.938 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004474/0.3832, allocations: 246.6 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.3832, allocations: 59.39 kB / 1.095 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3834, allocations: 178.8 kB / 1.095 GB, free: 9.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.3835, allocations: 45.7 kB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.3837, allocations: 124.4 kB / 1.095 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3837, allocations: 39.53 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/0.3839, allocations: 113.6 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3841, allocations: 330.8 kB / 1.096 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002986/0.3844, allocations: 155.9 kB / 1.096 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.3847, allocations: 242.2 kB / 1.096 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.3852, allocations: 407.6 kB / 1.096 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3853, allocations: 8 kB / 1.096 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009944/0.3863, allocations: 0.6146 MB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.3864, allocations: 162.2 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3864, allocations: 3.938 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3864, allocations: 4 kB / 1.097 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.3865, allocations: 20.27 kB / 1.097 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3865, allocations: 8 kB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.3872, allocations: 135.6 kB / 1.097 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.3872, allocations: 35.97 kB / 1.097 GB, free: 7.352 MB / 0.8575 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.0001778/0.3874, allocations: 153.8 kB / 1.098 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3875, allocations: 15.81 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.3875, allocations: 25.8 kB / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3875, allocations: 0 / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3875, allocations: 0 / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3875, allocations: 0 / 1.098 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.3882, allocations: 0.5197 MB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3882, allocations: 0 / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.427e-05/0.3882, allocations: 7.984 kB / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3882, allocations: 0 / 1.098 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3883, allocations: 8 kB / 1.098 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.3883, allocations: 3.938 kB / 1.098 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3883, allocations: 3.938 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.3886, allocations: 287.2 kB / 1.098 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.3887, allocations: 100.9 kB / 1.098 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.3887, allocations: 96 / 1.098 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.898e-05/0.3888, allocations: 11.92 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.3889, allocations: 19.98 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3889, allocations: 11.98 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.389, allocations: 116.2 kB / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.389, allocations: 0 / 1.099 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003663/0.3894, allocations: 76 kB / 1.099 GB, free: 5.91 MB / 0.8575 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.0002348/0.3896, allocations: 119.2 kB / 1.099 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008888/0.3905, allocations: 0.6121 MB / 1.099 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3905, allocations: 0 / 1.099 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3906, allocations: 75.91 kB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.3911, allocations: 60.56 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006586/0.3918, allocations: 328.2 kB / 1.1 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.3922, allocations: 0.7319 MB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 7.047e-05/0.3922, allocations: 21.55 kB / 1.101 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.3923, allocations: 19.44 kB / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.3923, allocations: 0 / 1.101 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of Templates: time 0.008904/0.4012, allocations: 4.582 MB / 1.105 GB, free: 15.31 MB / 0.8731 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