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.009179/0.009179, allocations: 97.02 kB / 15.73 MB, free: 6.062 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.001941/0.001941, allocations: 198.2 kB / 16.68 MB, free: 5.98 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.561/1.561, allocations: 222.9 MB / 240.4 MB, free: 4.348 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.765/2.765, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 64.14 kB / 1.019 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4021, allocations: 151.6 MB / 1.167 GB, free: 6.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002577/0.4047, allocations: 0.8414 MB / 1.167 GB, free: 6.113 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.4071, allocations: 1.475 MB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.4072, allocations: 7.938 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.4074, allocations: 15.8 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.4076, allocations: 35.72 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.4092, allocations: 0.5209 MB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007731/0.4099, allocations: 0.4992 MB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.4101, allocations: 41.48 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.4105, allocations: 183.7 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003642/0.4109, allocations: 175.5 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.411, allocations: 40 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.4112, allocations: 51.98 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-05/0.4113, allocations: 51.83 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.4115, allocations: 159.5 kB / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.4122, allocations: 406.7 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4122, allocations: 0 / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4122, allocations: 4 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.4122, allocations: 0 / 1.171 GB, free: 2.461 MB / 0.92 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.00107/0.4133, allocations: 0.6514 MB / 1.172 GB, free: 1.727 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.4134, allocations: 11.98 kB / 1.172 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.4135, allocations: 32.78 kB / 1.172 GB, free: 1.684 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.4139, allocations: 257.1 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.414, allocations: 24.36 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.4141, allocations: 32.31 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.4144, allocations: 157.9 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4144, allocations: 192 / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.4144, allocations: 7.938 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.4145, allocations: 4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.4146, allocations: 83.94 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.4157, allocations: 0.7032 MB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002298/0.4159, allocations: 179.6 kB / 1.173 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-05/0.416, allocations: 40.84 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.416, allocations: 0 / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.4164, allocations: 163.6 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.4164, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.000511/0.4169, allocations: 251.5 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.417, allocations: 51.41 kB / 1.174 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.4172, allocations: 182.8 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.095e-05/0.4173, allocations: 41.7 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.4174, allocations: 132.5 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.617e-05/0.4175, allocations: 39.7 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.4177, allocations: 113.6 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4179, allocations: 326.8 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003374/0.4182, allocations: 159.9 kB / 1.175 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.4186, allocations: 242.1 kB / 1.175 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.4191, allocations: 409 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4191, allocations: 4 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001012/0.4201, allocations: 0.6148 MB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.4203, allocations: 176.8 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4203, allocations: 7.922 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4203, allocations: 4 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.21e-05/0.4203, allocations: 11.94 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4204, allocations: 4 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.4211, allocations: 139.7 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.4212, allocations: 31.97 kB / 1.176 GB, free: 12.79 MB / 0.9356 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.0001944/0.4214, allocations: 157.5 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.4215, allocations: 23.8 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.4215, allocations: 25.86 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4215, allocations: 0 / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.4215, allocations: 0 / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4216, allocations: 0 / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.4221, allocations: 0.51 MB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4221, allocations: 0 / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.2e-05/0.4222, allocations: 8 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.4222, allocations: 0 / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4222, allocations: 4 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4222, allocations: 0 / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4222, allocations: 4 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.4225, allocations: 289.5 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.4226, allocations: 93.02 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.4226, allocations: 3.984 kB / 1.177 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.786e-05/0.4227, allocations: 4.094 kB / 1.177 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.4228, allocations: 23.92 kB / 1.177 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.4228, allocations: 11.98 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.12e-05/0.4229, allocations: 124.2 kB / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4229, allocations: 0 / 1.177 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003878/0.4233, allocations: 79.89 kB / 1.177 GB, free: 11.35 MB / 0.9356 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.0002281/0.4235, allocations: 112.4 kB / 1.178 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008531/0.4244, allocations: 0.6201 MB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4244, allocations: 4.125 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4245, allocations: 83.86 kB / 1.178 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.425, allocations: 49.95 kB / 1.178 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.4256, allocations: 319.9 kB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.426, allocations: 0.732 MB / 1.179 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.124e-05/0.4261, allocations: 25.48 kB / 1.179 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.4261, allocations: 19.42 kB / 1.179 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.4261, allocations: 4 kB / 1.179 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.009634/0.4358, allocations: 4.566 MB / 1.184 GB, free: 4.754 MB / 0.9356 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 -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