Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001825/0.001825, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002075/0.002075, allocations: 203 kB / 16.26 MB, free: 6.625 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 469.8 MB / 0.742 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 68.52 kB / 0.908 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3703, allocations: 159.2 MB / 1.063 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002235/0.3726, allocations: 0.8769 MB / 1.064 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3745, allocations: 1.486 MB / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.3746, allocations: 0 / 1.066 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.3748, allocations: 15.86 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.3748, allocations: 35.77 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3761, allocations: 489 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005779/0.3767, allocations: 0.4915 MB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.3768, allocations: 41.48 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.3771, allocations: 183.6 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3773, allocations: 143.6 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/0.3774, allocations: 40 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.3775, allocations: 59.98 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.3775, allocations: 43.89 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.3778, allocations: 159.5 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.3782, allocations: 411.2 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3783, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.616e-06/0.3783, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3783, allocations: 3.938 kB / 1.068 GB, free: 10.11 MB / 0.8262 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.0008892/0.3792, allocations: 0.6452 MB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3792, allocations: 8.031 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3793, allocations: 36.73 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.3797, allocations: 252.1 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.3797, allocations: 20.31 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.513e-05/0.3798, allocations: 28.38 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002886/0.3801, allocations: 155.8 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3801, allocations: 192 / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.3802, allocations: 11.92 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3802, allocations: 4 kB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3803, allocations: 75.95 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.3813, allocations: 0.7146 MB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.3815, allocations: 171.7 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.587e-05/0.3816, allocations: 40.84 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3816, allocations: 4 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002507/0.3819, allocations: 155.3 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3819, allocations: 8 kB / 1.07 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0004936/0.3824, allocations: 243.5 kB / 1.07 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/0.3825, allocations: 55.41 kB / 1.07 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3827, allocations: 178.3 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.3827, allocations: 41.69 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3829, allocations: 128.4 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3829, allocations: 31.56 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/0.3831, allocations: 117.6 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3833, allocations: 330.8 kB / 1.071 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3837, allocations: 163.8 kB / 1.071 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.384, allocations: 235.5 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/0.3846, allocations: 412.5 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3846, allocations: 3.938 kB / 1.072 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001047/0.3856, allocations: 0.6242 MB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.3858, allocations: 164.5 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3858, allocations: 7.938 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.3858, allocations: 7.984 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.735e-05/0.3858, allocations: 7.938 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3859, allocations: 7.984 kB / 1.073 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.3867, allocations: 147.7 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.3868, allocations: 35.97 kB / 1.073 GB, free: 4.457 MB / 0.8262 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.0001985/0.387, allocations: 153.7 kB / 1.073 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.387, allocations: 19.8 kB / 1.073 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.3871, allocations: 25.88 kB / 1.073 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3871, allocations: 4 kB / 1.073 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3871, allocations: 4 kB / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3871, allocations: 0 / 1.073 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.3877, allocations: 0.5099 MB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3877, allocations: 0 / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.3878, allocations: 4 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3878, allocations: 0 / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3878, allocations: 4 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3878, allocations: 8 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3878, allocations: 3.984 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.3881, allocations: 284.9 kB / 1.074 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.3882, allocations: 92.86 kB / 1.074 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3882, allocations: 3.984 kB / 1.074 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3883, allocations: 8 kB / 1.074 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.3884, allocations: 15.98 kB / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.3884, allocations: 7.984 kB / 1.074 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.972e-05/0.3885, allocations: 128.2 kB / 1.074 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3885, allocations: 0 / 1.074 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000367/0.3889, allocations: 80 kB / 1.074 GB, free: 3.016 MB / 0.8262 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.0001928/0.3891, allocations: 108.4 kB / 1.074 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000868/0.39, allocations: 0.6312 MB / 1.075 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.39, allocations: 4.062 kB / 1.075 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3901, allocations: 81.8 kB / 1.075 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.3905, allocations: 58.05 kB / 1.075 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006197/0.3912, allocations: 376.2 kB / 1.075 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3915, allocations: 0.7242 MB / 1.076 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.505e-05/0.3916, allocations: 21.53 kB / 1.076 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.3917, allocations: 19.44 kB / 1.076 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3917, allocations: 0 / 1.076 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of Templates: time 0.009041/0.4007, allocations: 4.528 MB / 1.081 GB, free: 12.41 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches