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.001522/0.001522, allocations: 105 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.001475/0.001475, 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.338/1.338, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.542/2.542, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 64.16 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3095, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002089/0.3117, allocations: 0.8892 MB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.3136, allocations: 1.49 MB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.3136, allocations: 4 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3138, allocations: 15.86 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.3139, allocations: 23.78 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.315, allocations: 493.3 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.3156, allocations: 0.4914 MB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3158, allocations: 41.48 kB / 1.068 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.316, allocations: 195.6 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001822/0.3162, allocations: 143.6 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.867e-05/0.3162, allocations: 40 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.3164, allocations: 51.98 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.3164, allocations: 39.91 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.3166, allocations: 159.5 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000342/0.317, allocations: 295.5 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.317, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.563e-06/0.317, allocations: 4 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.317, allocations: 0 / 1.068 GB, free: 10.77 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.0008315/0.3178, allocations: 0.6438 MB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3179, allocations: 12.02 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.318, allocations: 28.75 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3183, allocations: 256 kB / 1.069 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.3183, allocations: 20.38 kB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.628e-05/0.3184, allocations: 28.38 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.3187, allocations: 153.8 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3187, allocations: 192 / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.3187, allocations: 15.86 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.3188, allocations: 8 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.3189, allocations: 83.89 kB / 1.07 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.3198, allocations: 0.7069 MB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.3201, allocations: 171.6 kB / 1.07 GB, free: 8.445 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.247e-05/0.3202, allocations: 48.83 kB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3202, allocations: 4.125 kB / 1.071 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003252/0.3205, allocations: 157.4 kB / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.3205, allocations: 0 / 1.071 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0005325/0.3211, allocations: 246.8 kB / 1.071 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3211, allocations: 59.41 kB / 1.071 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3213, allocations: 180.5 kB / 1.071 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/0.3214, allocations: 37.7 kB / 1.071 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3215, allocations: 128.4 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/0.3215, allocations: 39.55 kB / 1.071 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.3218, allocations: 117.6 kB / 1.071 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3219, allocations: 326.8 kB / 1.072 GB, free: 7.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.3222, allocations: 155.8 kB / 1.072 GB, free: 6.914 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.3226, allocations: 251.4 kB / 1.072 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.3231, allocations: 404.8 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3231, allocations: 0 / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001013/0.3242, allocations: 0.6236 MB / 1.073 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.3243, allocations: 160.5 kB / 1.073 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3243, allocations: 7.938 kB / 1.073 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3243, allocations: 4 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.3244, allocations: 15.92 kB / 1.073 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.3244, allocations: 4 kB / 1.073 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/0.3252, allocations: 139.9 kB / 1.073 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.306e-05/0.3253, allocations: 32.08 kB / 1.073 GB, free: 5.125 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.0001862/0.3255, allocations: 161.6 kB / 1.074 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3255, allocations: 19.8 kB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.3256, allocations: 21.81 kB / 1.074 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-06/0.3256, allocations: 4.062 kB / 1.074 GB, free: 4.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.3256, allocations: 4 kB / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3256, allocations: 0 / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/0.3262, allocations: 0.5099 MB / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3263, allocations: 0 / 1.074 GB, free: 4.336 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.026e-05/0.3263, allocations: 7.938 kB / 1.074 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3263, allocations: 4 kB / 1.074 GB, free: 4.324 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.3263, allocations: 11.98 kB / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3263, allocations: 0 / 1.074 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3263, allocations: 3.938 kB / 1.074 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.3266, allocations: 280.9 kB / 1.074 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.64e-05/0.3267, allocations: 92.86 kB / 1.075 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.3267, allocations: 7.984 kB / 1.075 GB, free: 3.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.51e-05/0.3268, allocations: 4 kB / 1.075 GB, free: 3.898 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3269, allocations: 23.97 kB / 1.075 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.3269, allocations: 12 kB / 1.075 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.989e-05/0.327, allocations: 116.2 kB / 1.075 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.327, allocations: 0 / 1.075 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003735/0.3274, allocations: 83.98 kB / 1.075 GB, free: 3.668 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.0001848/0.3276, allocations: 115.9 kB / 1.075 GB, free: 3.547 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008294/0.3284, allocations: 0.6257 MB / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3284, allocations: 0 / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3286, allocations: 81.8 kB / 1.076 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.329, allocations: 60.52 kB / 1.076 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.3297, allocations: 397.8 kB / 1.076 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.33, allocations: 0.7242 MB / 1.077 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.3301, allocations: 19.44 kB / 1.077 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3301, allocations: 0 / 1.077 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of Templates: time 0.4474/0.7774, allocations: 3.324 MB / 1.08 GB, free: 21.38 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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