Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001321/0.001321, allocations: 104.4 kB / 15.99 MB, free: 6.355 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.001439/0.001439, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.355/1.355, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.605/2.605, allocations: 469.4 MB / 0.7423 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 64.47 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3634, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002768/0.3662, allocations: 0.8869 MB / 1.065 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002594/0.3689, allocations: 1.49 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.3691, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001759/0.3693, allocations: 15.86 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3694, allocations: 23.78 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.3711, allocations: 494.2 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0007952/0.3719, allocations: 0.4953 MB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.3721, allocations: 41.48 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.3726, allocations: 191.6 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3729, allocations: 139.6 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.3731, allocations: 40 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.3733, allocations: 59.97 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 7.978e-05/0.3734, allocations: 39.91 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.3737, allocations: 159.5 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004402/0.3742, allocations: 291.5 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3742, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3742, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.3742, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 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.001173/0.3754, allocations: 0.6438 MB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.3755, allocations: 12.62 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3756, allocations: 28.75 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.3761, allocations: 248.1 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.3761, allocations: 20.38 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.974e-05/0.3762, allocations: 32.36 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.3765, allocations: 151.9 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3765, allocations: 192 / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3766, allocations: 11.88 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3766, allocations: 4 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.3768, allocations: 83.89 kB / 1.069 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.3778, allocations: 0.7147 MB / 1.07 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.378, allocations: 167.6 kB / 1.07 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.3781, allocations: 52.77 kB / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.3781, allocations: 0 / 1.07 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003332/0.3785, allocations: 159.2 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.3785, allocations: 0 / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0005257/0.379, allocations: 247.5 kB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3791, allocations: 59.41 kB / 1.071 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3793, allocations: 180.8 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.511e-05/0.3794, allocations: 37.7 kB / 1.071 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3795, allocations: 132.4 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/0.3796, allocations: 39.53 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.3798, allocations: 113.6 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.38, allocations: 330.8 kB / 1.071 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3804, allocations: 159.8 kB / 1.071 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003978/0.3808, allocations: 247.3 kB / 1.072 GB, free: 6.902 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.3814, allocations: 402.8 kB / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.3814, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001089/0.3825, allocations: 0.6256 MB / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.3826, allocations: 160.5 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.3826, allocations: 7.938 kB / 1.073 GB, free: 5.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.3826, allocations: 4 kB / 1.073 GB, free: 5.586 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/0.3827, allocations: 15.92 kB / 1.073 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.3827, allocations: 8 kB / 1.073 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.3836, allocations: 136 kB / 1.073 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-05/0.3837, allocations: 36.02 kB / 1.073 GB, free: 5.395 MB / 0.8419 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.0002628/0.3839, allocations: 165.7 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.384, allocations: 11.81 kB / 1.073 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.384, allocations: 21.81 kB / 1.073 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.384, allocations: 7.938 kB / 1.073 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3841, allocations: 0 / 1.073 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3841, allocations: 3.984 kB / 1.073 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007125/0.3848, allocations: 0.5061 MB / 1.074 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3848, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.3848, allocations: 7.938 kB / 1.074 GB, free: 4.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.3848, allocations: 3.938 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.3849, allocations: 11.98 kB / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3849, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3849, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000347/0.3852, allocations: 281.1 kB / 1.074 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.3853, allocations: 100.8 kB / 1.074 GB, free: 4.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3853, allocations: 4 kB / 1.074 GB, free: 4.176 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.3854, allocations: 4 kB / 1.074 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.3855, allocations: 19.97 kB / 1.074 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3855, allocations: 12 kB / 1.074 GB, free: 4.141 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.359e-05/0.3856, allocations: 120.2 kB / 1.074 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3856, allocations: 0 / 1.074 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004021/0.386, allocations: 79.98 kB / 1.074 GB, free: 3.945 MB / 0.8419 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.0002182/0.3863, allocations: 119.3 kB / 1.074 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008604/0.3871, allocations: 0.6256 MB / 1.075 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3871, allocations: 0 / 1.075 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.3873, allocations: 81.28 kB / 1.075 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.3877, allocations: 72.48 kB / 1.075 GB, free: 2.984 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/0.3885, allocations: 393.9 kB / 1.076 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.389, allocations: 0.7242 MB / 1.076 GB, free: 1.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.389, allocations: 23.44 kB / 1.076 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.389, allocations: 0 / 1.076 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of Templates: time 0.5497/0.9387, allocations: 3.316 MB / 1.08 GB, free: 21.51 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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