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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009294/0.0009295, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.01065/0.01065, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.524/1.524, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.815/2.815, allocations: 443.3 MB / 0.7175 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005066, allocations: 11.53 kB / 0.8796 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3863, allocations: 155.2 MB / 1.031 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.001164/0.3875, allocations: 0.5408 MB / 1.032 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002183/0.3897, allocations: 1.542 MB / 1.033 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.3898, allocations: 0 / 1.033 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001265/0.3899, allocations: 19.86 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.947e-05/0.3901, allocations: 23.78 kB / 1.033 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001386/0.3914, allocations: 490.6 kB / 1.034 GB, free: 1.695 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.3919, allocations: 423.2 kB / 1.034 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.3921, allocations: 41.48 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3923, allocations: 159.6 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.3925, allocations: 123.6 kB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.3926, allocations: 24 kB / 1.034 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.3927, allocations: 35.98 kB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.674e-05/0.3928, allocations: 39.89 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.393, allocations: 165.1 kB / 1.035 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.3934, allocations: 387.1 kB / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3935, allocations: 0 / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3935, allocations: 0 / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.3935, allocations: 0 / 1.035 GB, free: 320 kB / 0.7794 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.0007822/0.3943, allocations: 0.5775 MB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.3943, allocations: 12.03 kB / 1.036 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.3945, allocations: 28.75 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.3948, allocations: 263.9 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.3949, allocations: 20.36 kB / 1.036 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.395, allocations: 28.38 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3953, allocations: 153.3 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3953, allocations: 4.188 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3953, allocations: 11.94 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3953, allocations: 0 / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.3955, allocations: 83.94 kB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009674/0.3965, allocations: 0.6993 MB / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3967, allocations: 175.6 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.645e-05/0.3968, allocations: 44.84 kB / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.3968, allocations: 0 / 1.037 GB, free: 14.01 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3971, allocations: 164.8 kB / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.3971, allocations: 0 / 1.037 GB, free: 13.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0004709/0.3976, allocations: 243 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.3976, allocations: 59.41 kB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.3978, allocations: 176.5 kB / 1.038 GB, free: 13.35 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.3979, allocations: 37.7 kB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.398, allocations: 128.4 kB / 1.038 GB, free: 13.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.852e-05/0.3981, allocations: 43.55 kB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3982, allocations: 49.69 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3983, allocations: 330.8 kB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.3986, allocations: 155.9 kB / 1.038 GB, free: 12.59 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.399, allocations: 243 kB / 1.039 GB, free: 12.32 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.3995, allocations: 409 kB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3995, allocations: 0 / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001013/0.4005, allocations: 0.6256 MB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.4007, allocations: 166.4 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4007, allocations: 7.938 kB / 1.04 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.4007, allocations: 4 kB / 1.04 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.65e-05/0.4008, allocations: 4.094 kB / 1.04 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.4008, allocations: 11.88 kB / 1.04 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009448/0.4017, allocations: 202.5 kB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-05/0.4018, allocations: 39.91 kB / 1.04 GB, free: 10.74 MB / 0.795 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.0001936/0.402, allocations: 153.7 kB / 1.04 GB, free: 10.58 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.4021, allocations: 15.81 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.082e-05/0.4021, allocations: 29.8 kB / 1.04 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.4021, allocations: 8 kB / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.4021, allocations: 0 / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4022, allocations: 64 / 1.04 GB, free: 10.53 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006202/0.4028, allocations: 0.5022 MB / 1.041 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4028, allocations: 0 / 1.041 GB, free: 9.973 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.4028, allocations: 15.92 kB / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4028, allocations: 0 / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4029, allocations: 0 / 1.041 GB, free: 9.957 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.4029, allocations: 4 kB / 1.041 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4029, allocations: 0 / 1.041 GB, free: 9.953 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.4032, allocations: 288.6 kB / 1.041 GB, free: 9.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.4033, allocations: 92.86 kB / 1.041 GB, free: 9.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4033, allocations: 7.984 kB / 1.041 GB, free: 9.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.4034, allocations: 7.938 kB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.4034, allocations: 15.98 kB / 1.041 GB, free: 9.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.4034, allocations: 15.98 kB / 1.041 GB, free: 9.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.4035, allocations: 119.5 kB / 1.041 GB, free: 9.383 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4035, allocations: 4 kB / 1.041 GB, free: 9.379 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003877/0.4039, allocations: 76 kB / 1.041 GB, free: 9.305 MB / 0.795 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.000201/0.4041, allocations: 107.2 kB / 1.041 GB, free: 9.188 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008068/0.4049, allocations: 0.6203 MB / 1.042 GB, free: 8.508 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.405, allocations: 0 / 1.042 GB, free: 8.508 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4051, allocations: 79.97 kB / 1.042 GB, free: 8.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.4055, allocations: 51.83 kB / 1.042 GB, free: 8.379 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.4062, allocations: 376.7 kB / 1.042 GB, free: 7.988 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.4065, allocations: 0.7287 MB / 1.043 GB, free: 7.234 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.97e-05/0.4066, allocations: 25.53 kB / 1.043 GB, free: 7.211 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.4067, allocations: 15.44 kB / 1.043 GB, free: 7.195 MB / 0.795 GB Notification: Performance of SimCode: time 6.31e-07/0.4067, allocations: 4 kB / 1.043 GB, free: 7.191 MB / 0.795 GB Notification: Performance of Templates: time 0.009109/0.4158, allocations: 4.324 MB / 1.047 GB, free: 2.926 MB / 0.795 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