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.00532/0.00532, allocations: 98.67 kB / 15.88 MB, free: 6.316 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.001213/0.001213, allocations: 194.9 kB / 16.79 MB, free: 6.242 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.418/2.418, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6869/0.6885, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001893/0.6904, allocations: 0.881 MB / 0.9505 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.6921, allocations: 1.537 MB / 0.952 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.6922, allocations: 5.562 kB / 0.952 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.6923, allocations: 13.23 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.6924, allocations: 27.94 kB / 0.952 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.6934, allocations: 493.5 kB / 0.9525 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.6938, allocations: 419.2 kB / 0.9529 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.694, allocations: 42.39 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.6942, allocations: 166.5 kB / 0.9531 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.6943, allocations: 131.5 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.413e-05/0.6944, allocations: 23.34 kB / 0.9532 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.6945, allocations: 42.59 kB / 0.9533 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.6946, allocations: 34.56 kB / 0.9533 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.6948, allocations: 147.7 kB / 0.9534 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.6951, allocations: 294.2 kB / 0.9537 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.6951, allocations: 0 / 0.9537 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.6951, allocations: 1.156 kB / 0.9537 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.6951, allocations: 0 / 0.9537 GB, free: 6.141 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.000703/0.6958, allocations: 0.6423 MB / 0.9543 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.6959, allocations: 9.219 kB / 0.9544 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.696, allocations: 27.78 kB / 0.9544 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.6963, allocations: 264 kB / 0.9546 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.6963, allocations: 17.28 kB / 0.9547 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.6964, allocations: 37.17 kB / 0.9547 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.6966, allocations: 158.3 kB / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.6966, allocations: 192 / 0.9548 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6967, allocations: 5.125 kB / 0.9548 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.6967, allocations: 2.656 kB / 0.9548 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.6968, allocations: 83.92 kB / 0.9549 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.6976, allocations: 0.7176 MB / 0.9556 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.6978, allocations: 165.7 kB / 0.9558 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.6979, allocations: 50.48 kB / 0.9558 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.6979, allocations: 5.344 kB / 0.9558 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.6982, allocations: 150.8 kB / 0.956 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.6982, allocations: 0 / 0.956 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.00046/0.6986, allocations: 249.6 kB / 0.9562 GB, free: 4 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.6987, allocations: 58.95 kB / 0.9563 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.6988, allocations: 186.3 kB / 0.9565 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.6989, allocations: 39.89 kB / 0.9565 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.699, allocations: 126.9 kB / 0.9566 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.699, allocations: 42.16 kB / 0.9567 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.6992, allocations: 113.3 kB / 0.9568 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/0.6993, allocations: 331.3 kB / 0.9571 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.6996, allocations: 155 kB / 0.9572 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.7, allocations: 236.3 kB / 0.9575 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.7004, allocations: 409.5 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.7004, allocations: 3.938 kB / 0.9578 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009305/0.7013, allocations: 0.6198 MB / 0.9584 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-05/0.7014, allocations: 165.5 kB / 0.9586 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.7014, allocations: 5.562 kB / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.7014, allocations: 5.438 kB / 0.9586 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.692e-05/0.7015, allocations: 16.52 kB / 0.9586 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.7015, allocations: 9.078 kB / 0.9586 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008133/0.7023, allocations: 143.3 kB / 0.9588 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.7024, allocations: 33.78 kB / 0.9588 GB, free: 1.93 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,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.0001487/0.7025, allocations: 155.8 kB / 0.959 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.7026, allocations: 19.67 kB / 0.959 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/0.7026, allocations: 20.75 kB / 0.959 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7026, allocations: 2.156 kB / 0.959 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.7026, allocations: 0.75 kB / 0.959 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7026, allocations: 7.984 kB / 0.959 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.7031, allocations: 0.5063 MB / 0.9595 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7031, allocations: 0 / 0.9595 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.7032, allocations: 3.906 kB / 0.9595 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7032, allocations: 1.062 kB / 0.9595 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.7032, allocations: 10.36 kB / 0.9595 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.7032, allocations: 4.844 kB / 0.9595 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7032, allocations: 0 / 0.9595 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.7035, allocations: 285.5 kB / 0.9598 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.638e-05/0.7035, allocations: 94.69 kB / 0.9599 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.7035, allocations: 4.844 kB / 0.9599 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.7036, allocations: 2 kB / 0.9599 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.7037, allocations: 23.53 kB / 0.9599 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.7037, allocations: 10.59 kB / 0.9599 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.17e-05/0.7038, allocations: 123.2 kB / 0.96 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7038, allocations: 0 / 0.96 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003906/0.7042, allocations: 92.92 kB / 0.9601 GB, free: 0.8633 MB / 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 (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.0001498/0.7043, allocations: 114.9 kB / 0.9602 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006817/0.705, allocations: 0.612 MB / 0.9608 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.705, allocations: 0.6875 kB / 0.9608 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.7051, allocations: 80.25 kB / 0.9609 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.7056, allocations: 53.78 kB / 0.961 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.7062, allocations: 397.2 kB / 0.9613 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.7065, allocations: 0.7284 MB / 0.9621 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.7065, allocations: 21.75 kB / 0.9621 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.7066, allocations: 1.469 kB / 0.9621 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.005971/0.7125, allocations: 3.32 MB / 0.9653 GB, free: 13.46 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/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