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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001319/0.001319, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001481/0.001481, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.798/2.798, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003384, allocations: 12 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8873/0.8876, allocations: 142.4 MB / 0.9545 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001162/0.8889, allocations: 0.5248 MB / 0.955 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.8908, allocations: 1.463 MB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.927e-05/0.8909, allocations: 1.062 kB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.891, allocations: 13.27 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.8911, allocations: 30.81 kB / 0.9564 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.8921, allocations: 465.6 kB / 0.9569 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.8926, allocations: 381.9 kB / 0.9573 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.8927, allocations: 30.98 kB / 0.9573 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.8929, allocations: 152.3 kB / 0.9574 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.8931, allocations: 134.5 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.8931, allocations: 21.25 kB / 0.9576 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.8932, allocations: 40.23 kB / 0.9576 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.8933, allocations: 33.88 kB / 0.9577 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.8934, allocations: 62.36 kB / 0.9577 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.8937, allocations: 286.4 kB / 0.958 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.8937, allocations: 1.812 kB / 0.958 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8937, allocations: 0 / 0.958 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.8937, allocations: 0 / 0.958 GB, free: 5.148 MB / 0.7169 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.0006235/0.8944, allocations: 0.5797 MB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.8944, allocations: 9.625 kB / 0.9586 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.026e-05/0.8945, allocations: 35.02 kB / 0.9586 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002835/0.8948, allocations: 251.8 kB / 0.9588 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.8948, allocations: 17.75 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.776e-05/0.8949, allocations: 32.73 kB / 0.9589 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.8952, allocations: 152 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.8952, allocations: 3.984 kB / 0.959 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.8953, allocations: 6.75 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.8953, allocations: 10.7 kB / 0.959 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001466/0.8954, allocations: 74.58 kB / 0.9591 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.8963, allocations: 0.7182 MB / 0.9598 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.8965, allocations: 166.7 kB / 0.96 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.8966, allocations: 45.67 kB / 0.96 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.8966, allocations: 1.375 kB / 0.96 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.8969, allocations: 155.4 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 3.556e-06/0.8969, allocations: 3.938 kB / 0.9602 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0005672/0.8975, allocations: 246.3 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.8976, allocations: 55.44 kB / 0.9605 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.8978, allocations: 186 kB / 0.9606 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.8978, allocations: 38.86 kB / 0.9607 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.898, allocations: 126.7 kB / 0.9608 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.898, allocations: 38.75 kB / 0.9608 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.8981, allocations: 20.97 kB / 0.9609 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.8982, allocations: 327.1 kB / 0.9612 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.8985, allocations: 152 kB / 0.9613 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004086/0.8989, allocations: 233 kB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.8994, allocations: 291.3 kB / 0.9618 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8994, allocations: 1.062 kB / 0.9618 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001144/0.9005, allocations: 0.6211 MB / 0.9624 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.9006, allocations: 167.9 kB / 0.9626 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.9006, allocations: 3.75 kB / 0.9626 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.9007, allocations: 7.453 kB / 0.9626 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.185e-05/0.9007, allocations: 13.77 kB / 0.9626 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.9007, allocations: 5.094 kB / 0.9626 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00088/0.9016, allocations: 196.6 kB / 0.9628 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.9017, allocations: 33.84 kB / 0.9628 GB, free: 1.16 MB / 0.7169 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,mulOr2.y,mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.uTemp[4],$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,$PRE.booPul4.y,booPul4.y,$PRE.booPul5.y,booPul5.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.9019, allocations: 155.7 kB / 0.963 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.9019, allocations: 19.94 kB / 0.963 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.902, allocations: 20.55 kB / 0.963 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.902, allocations: 5.953 kB / 0.963 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.902, allocations: 1 kB / 0.963 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.902, allocations: 0 / 0.963 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.9026, allocations: 0.5044 MB / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.9026, allocations: 1.438 kB / 0.9635 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.9026, allocations: 7.172 kB / 0.9635 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.9026, allocations: 64 / 0.9635 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.9026, allocations: 15.05 kB / 0.9635 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.9026, allocations: 1.594 kB / 0.9635 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9026, allocations: 0 / 0.9635 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.9029, allocations: 287.4 kB / 0.9638 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.903, allocations: 89.92 kB / 0.9639 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.903, allocations: 5.5 kB / 0.9639 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.363e-05/0.9031, allocations: 5.172 kB / 0.9639 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.9031, allocations: 28.27 kB / 0.9639 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.9032, allocations: 11.44 kB / 0.9639 GB, free: 212 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.485e-05/0.9033, allocations: 120.9 kB / 0.9641 GB, free: 112 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9033, allocations: 1.406 kB / 0.9641 GB, free: 112 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004005/0.9037, allocations: 80.81 kB / 0.9641 GB, free: 100 kB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.9039, allocations: 113.3 kB / 0.9642 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008668/0.9048, allocations: 0.6211 MB / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9048, allocations: 1.062 kB / 0.9649 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.9049, allocations: 79.56 kB / 0.9649 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.9053, allocations: 42.92 kB / 0.965 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006623/0.906, allocations: 364.3 kB / 0.9653 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.9064, allocations: 0.7282 MB / 0.966 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.137e-05/0.9065, allocations: 21.2 kB / 0.9661 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.9065, allocations: 17.03 kB / 0.9661 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.9065, allocations: 5.312 kB / 0.9661 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of Templates: time 0.01068/0.9172, allocations: 4.147 MB / 0.9701 GB, free: 12.34 MB / 0.7325 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