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.00161/0.001611, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001951/0.001951, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.46/1.46, 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 9.1.3-maint.9.1.x/package.mo): time 2.206/2.206, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 71.88 kB / 0.9516 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7442, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001797/0.7461, allocations: 0.8491 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.7476, allocations: 1.47 MB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.7477, allocations: 2.125 kB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.7478, allocations: 19.67 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.805e-05/0.7478, allocations: 34.8 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001148/0.749, allocations: 0.5146 MB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005293/0.7495, allocations: 0.5 MB / 1.092 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.7497, allocations: 44.66 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.7499, allocations: 178.3 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.7501, allocations: 183.2 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.597e-05/0.7502, allocations: 44.53 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.7504, allocations: 54.97 kB / 1.092 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.7504, allocations: 42.5 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.7506, allocations: 162.2 kB / 1.093 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004582/0.7511, allocations: 408.4 kB / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.7511, allocations: 0.6562 kB / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7511, allocations: 0 / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.7511, allocations: 0.6875 kB / 1.093 GB, free: 2.992 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.0006357/0.7518, allocations: 0.6389 MB / 1.094 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.7518, allocations: 13.53 kB / 1.094 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.945e-05/0.7519, allocations: 28.56 kB / 1.094 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.7522, allocations: 268.5 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.7523, allocations: 18.75 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.558e-05/0.7523, allocations: 31.09 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.7526, allocations: 154.2 kB / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.7526, allocations: 192 / 1.094 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.7526, allocations: 7.172 kB / 1.094 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7526, allocations: 6.734 kB / 1.094 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.7528, allocations: 85.17 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.7536, allocations: 0.7027 MB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000178/0.7538, allocations: 171.7 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.7539, allocations: 44.2 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.7539, allocations: 4.781 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002546/0.7541, allocations: 158.3 kB / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.7542, allocations: 0 / 1.095 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0004653/0.7546, allocations: 243.2 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.7547, allocations: 56.47 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.7548, allocations: 182.6 kB / 1.096 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.7549, allocations: 43.27 kB / 1.096 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.755, allocations: 128.3 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.755, allocations: 37.17 kB / 1.096 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/0.7552, allocations: 115.4 kB / 1.096 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.7553, allocations: 328.4 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003256/0.7556, allocations: 153.1 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.7559, allocations: 241.4 kB / 1.097 GB, free: 272 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004361/0.7564, allocations: 406.9 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7564, allocations: 5.25 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001061/0.7575, allocations: 0.6196 MB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.7576, allocations: 168.5 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7576, allocations: 7.828 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.7576, allocations: 8 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.374e-05/0.7577, allocations: 7.688 kB / 1.098 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.7577, allocations: 11.89 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.7585, allocations: 136.2 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.7585, allocations: 41.48 kB / 1.098 GB, free: 15.37 MB / 0.8731 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.0001658/0.7587, allocations: 158.1 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.7588, allocations: 15.23 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.7588, allocations: 26.86 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.7588, allocations: 3.188 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.7588, allocations: 0 / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7588, allocations: 0.8906 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.7594, allocations: 0.5132 MB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.7594, allocations: 0.6094 kB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.7595, allocations: 12.78 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.7595, allocations: 0.8438 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.7595, allocations: 4.203 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.7595, allocations: 1.797 kB / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7595, allocations: 0 / 1.099 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.7598, allocations: 285.5 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.7599, allocations: 90.75 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.7599, allocations: 7.953 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.647e-05/0.76, allocations: 1.719 kB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.76, allocations: 22.45 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.7601, allocations: 11.88 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.679e-05/0.7601, allocations: 119.8 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7602, allocations: 0 / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000371/0.7605, allocations: 79.55 kB / 1.099 GB, free: 14.41 MB / 0.8731 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.000166/0.7607, allocations: 116.3 kB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.7615, allocations: 0.6187 MB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7615, allocations: 5.062 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.7616, allocations: 80.09 kB / 1.1 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.7621, allocations: 58.88 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.7626, allocations: 352.8 kB / 1.101 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.763, allocations: 0.7351 MB / 1.101 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.763, allocations: 20.53 kB / 1.101 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of SimCode: time 3.7e-07/0.763, allocations: 0 / 1.101 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of Templates: time 0.006616/0.7696, allocations: 3.331 MB / 1.105 GB, free: 12.53 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result: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,time