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.01104/0.01105, allocations: 104.3 kB / 15.74 MB, free: 6.492 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.00285/0.002851, allocations: 190 kB / 16.67 MB, free: 6.379 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.65/1.65, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.925/2.925, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 67.89 kB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3926, allocations: 157.4 MB / 1.208 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002129/0.3948, allocations: 0.8201 MB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3968, allocations: 1.49 MB / 1.21 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.3969, allocations: 4 kB / 1.21 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.397, allocations: 15.8 kB / 1.21 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.997e-05/0.3971, allocations: 27.72 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3983, allocations: 0.5212 MB / 1.211 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.3989, allocations: 0.4992 MB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.399, allocations: 45.44 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.3992, allocations: 183.7 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.3994, allocations: 167.6 kB / 1.211 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.3995, allocations: 44 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3996, allocations: 55.92 kB / 1.212 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.3997, allocations: 39.91 kB / 1.212 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.3999, allocations: 163.5 kB / 1.212 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.4003, allocations: 406.8 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.4003, allocations: 15.94 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.128e-06/0.4003, allocations: 3.984 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.4003, allocations: 0 / 1.212 GB, free: 5.109 MB / 0.9669 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.0009012/0.4013, allocations: 0.6359 MB / 1.213 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.4013, allocations: 12.62 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.4014, allocations: 28.75 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.4018, allocations: 261.2 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.209e-05/0.4019, allocations: 24.36 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.402, allocations: 28.38 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.4023, allocations: 156.3 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4023, allocations: 192 / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.4023, allocations: 3.938 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.4023, allocations: 4 kB / 1.213 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4025, allocations: 87.88 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008302/0.4033, allocations: 0.7109 MB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.4035, allocations: 167.7 kB / 1.214 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.4036, allocations: 44.97 kB / 1.214 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.4036, allocations: 4 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.4038, allocations: 156.5 kB / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.4039, allocations: 0 / 1.214 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.0004385/0.4043, allocations: 251.7 kB / 1.215 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4044, allocations: 55.41 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.4045, allocations: 178.7 kB / 1.215 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.88e-05/0.4046, allocations: 49.64 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4047, allocations: 124.5 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.4047, allocations: 39.45 kB / 1.215 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/0.4049, allocations: 121.6 kB / 1.215 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.405, allocations: 326.8 kB / 1.215 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002943/0.4053, allocations: 155.9 kB / 1.216 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.4057, allocations: 238.5 kB / 1.216 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.4062, allocations: 413.9 kB / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4062, allocations: 0 / 1.216 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009482/0.4072, allocations: 0.6188 MB / 1.217 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.4073, allocations: 168.5 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.4073, allocations: 7.938 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.4074, allocations: 4 kB / 1.217 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.482e-05/0.4074, allocations: 12 kB / 1.217 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.4074, allocations: 4 kB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007499/0.4082, allocations: 135.9 kB / 1.217 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.478e-05/0.4082, allocations: 39.91 kB / 1.217 GB, free: 15.46 MB / 0.9825 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.0001652/0.4084, allocations: 157.7 kB / 1.217 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.4085, allocations: 23.8 kB / 1.217 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.267e-05/0.4085, allocations: 25.8 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4085, allocations: 0 / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4085, allocations: 0 / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4085, allocations: 4 kB / 1.217 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000546/0.4091, allocations: 0.506 MB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4091, allocations: 4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.4091, allocations: 0 / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.4091, allocations: 4 kB / 1.218 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.4092, allocations: 4 kB / 1.218 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4092, allocations: 7.938 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.155e-06/0.4092, allocations: 3.984 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.4094, allocations: 281.6 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.4095, allocations: 92.86 kB / 1.218 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.4095, allocations: 7.984 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.4096, allocations: 7.938 kB / 1.218 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.4097, allocations: 23.97 kB / 1.218 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.4097, allocations: 8 kB / 1.218 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.289e-05/0.4098, allocations: 119.2 kB / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4098, allocations: 0 / 1.218 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003626/0.4102, allocations: 79.91 kB / 1.219 GB, free: 14.02 MB / 0.9825 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.000191/0.4103, allocations: 115.2 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.4111, allocations: 0.6159 MB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4111, allocations: 4 kB / 1.219 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.4112, allocations: 75.91 kB / 1.219 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.4116, allocations: 56.27 kB / 1.219 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005787/0.4122, allocations: 323.1 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.4125, allocations: 0.7242 MB / 1.22 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.025e-05/0.4125, allocations: 21.55 kB / 1.22 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.4126, allocations: 19.42 kB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4126, allocations: 4 kB / 1.22 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of Templates: time 0.008911/0.4215, allocations: 4.706 MB / 1.225 GB, free: 7.309 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches