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.001349/0.001349, allocations: 116.9 kB / 16.37 MB, free: 6.016 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.001624/0.001624, allocations: 189.7 kB / 17.3 MB, free: 5.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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 442.5 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002714/0.002714, allocations: 75.38 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3923, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002274/0.3946, allocations: 0.8395 MB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.3969, allocations: 1.479 MB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.3969, allocations: 0 / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.3971, allocations: 19.8 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.544e-05/0.3972, allocations: 27.72 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.3986, allocations: 0.5242 MB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006799/0.3993, allocations: 0.4992 MB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.3995, allocations: 45.47 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.3997, allocations: 179.7 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.4, allocations: 175.5 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.406e-05/0.4001, allocations: 40 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.4002, allocations: 55.98 kB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.4003, allocations: 43.84 kB / 1.031 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.4005, allocations: 163.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.401, allocations: 418.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.401, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.174e-06/0.401, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.4011, allocations: 3.938 kB / 1.031 GB, free: 13.55 MB / 0.8106 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.0008265/0.4019, allocations: 0.636 MB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4019, allocations: 16.73 kB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.73e-05/0.402, allocations: 28.75 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.4024, allocations: 261 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.4024, allocations: 16.38 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.845e-05/0.4025, allocations: 28.38 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.4027, allocations: 153.8 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.4028, allocations: 192 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.4028, allocations: 7.922 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.4028, allocations: 4 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.4029, allocations: 83.89 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008963/0.4038, allocations: 0.707 MB / 1.033 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.4041, allocations: 171.7 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.4042, allocations: 48.95 kB / 1.033 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.4042, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.4044, allocations: 155.3 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.4044, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004479/0.4049, allocations: 247 kB / 1.034 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.4049, allocations: 55.41 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4051, allocations: 182.2 kB / 1.034 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.4051, allocations: 37.7 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.4053, allocations: 132.4 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.4053, allocations: 43.53 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.4055, allocations: 113.6 kB / 1.034 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.4056, allocations: 322.8 kB / 1.034 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.4059, allocations: 159.9 kB / 1.035 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/0.4063, allocations: 238.2 kB / 1.035 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/0.4067, allocations: 413.6 kB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4068, allocations: 0 / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009597/0.4077, allocations: 0.6149 MB / 1.036 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.4078, allocations: 164.5 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.4079, allocations: 7.938 kB / 1.036 GB, free: 8.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.4079, allocations: 4 kB / 1.036 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.4079, allocations: 15.86 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4079, allocations: 4 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006817/0.4086, allocations: 135.8 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.677e-05/0.4087, allocations: 35.97 kB / 1.036 GB, free: 7.922 MB / 0.8106 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.0001846/0.4089, allocations: 161.5 kB / 1.036 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.4089, allocations: 23.75 kB / 1.036 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.33e-05/0.409, allocations: 21.81 kB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.409, allocations: 4 kB / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.409, allocations: 0 / 1.036 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.409, allocations: 3.984 kB / 1.036 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005788/0.4096, allocations: 0.5079 MB / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4096, allocations: 0 / 1.037 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.073e-05/0.4096, allocations: 8 kB / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4096, allocations: 0 / 1.037 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4097, allocations: 7.984 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4097, allocations: 7.938 kB / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4097, allocations: 0 / 1.037 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.41, allocations: 281.6 kB / 1.037 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.41, allocations: 96.84 kB / 1.037 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.4101, allocations: 8 kB / 1.037 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.4101, allocations: 4 kB / 1.037 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.4102, allocations: 23.95 kB / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4102, allocations: 16 kB / 1.037 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.4103, allocations: 116.2 kB / 1.037 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4103, allocations: 0 / 1.037 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00036/0.4107, allocations: 79.98 kB / 1.037 GB, free: 6.473 MB / 0.8106 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.0001933/0.4109, allocations: 113 kB / 1.038 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007665/0.4117, allocations: 0.6286 MB / 1.038 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4117, allocations: 0 / 1.038 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4118, allocations: 75.91 kB / 1.038 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.4122, allocations: 61.98 kB / 1.038 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.4128, allocations: 320.5 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4132, allocations: 0.7281 MB / 1.039 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 6.154e-05/0.4132, allocations: 25.53 kB / 1.039 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.637e-05/0.4133, allocations: 15.44 kB / 1.039 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.4133, allocations: 11.94 kB / 1.039 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of Templates: time 0.008928/0.4222, allocations: 4.538 MB / 1.044 GB, free: 15.91 MB / 0.8262 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 -s cvode -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) Reference file matches