Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001752/0.001752, allocations: 106 kB / 16.27 MB, free: 5.969 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.001914/0.001914, allocations: 189.1 kB / 17.19 MB, free: 5.594 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.475/1.475, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.711 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.47 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3137, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002243/0.316, allocations: 0.8312 MB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3179, allocations: 1.481 MB / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.194e-05/0.318, allocations: 0 / 1.02 GB, free: 8.285 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3181, allocations: 27.73 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.3182, allocations: 27.7 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.3195, allocations: 0.5099 MB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.32, allocations: 0.4991 MB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3202, allocations: 45.47 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.3204, allocations: 179.7 kB / 1.022 GB, free: 7.008 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3205, allocations: 143.6 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.3206, allocations: 40 kB / 1.022 GB, free: 6.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.3208, allocations: 59.92 kB / 1.022 GB, free: 6.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.3208, allocations: 47.89 kB / 1.022 GB, free: 6.723 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.321, allocations: 159.5 kB / 1.022 GB, free: 6.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.3215, allocations: 411.2 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3215, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3215, allocations: 0 / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3215, allocations: 4 kB / 1.022 GB, free: 6.16 MB / 0.795 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.0008026/0.3223, allocations: 0.6552 MB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3224, allocations: 12.88 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3225, allocations: 28.75 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.3228, allocations: 253.1 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.3228, allocations: 20.31 kB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/0.3229, allocations: 32.36 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.3232, allocations: 154.3 kB / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3232, allocations: 192 / 1.023 GB, free: 4.887 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.3232, allocations: 11.94 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.3232, allocations: 0 / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3234, allocations: 83.89 kB / 1.024 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.3243, allocations: 0.7109 MB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.3245, allocations: 167.7 kB / 1.024 GB, free: 3.836 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.627e-05/0.3246, allocations: 44.83 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3246, allocations: 0 / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.3249, allocations: 163.3 kB / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.222e-06/0.3249, allocations: 0 / 1.025 GB, free: 3.617 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0004834/0.3254, allocations: 243 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.3255, allocations: 59.39 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3257, allocations: 182.7 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.3257, allocations: 41.7 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3259, allocations: 124.5 kB / 1.025 GB, free: 2.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3259, allocations: 43.45 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.3261, allocations: 113.7 kB / 1.025 GB, free: 2.785 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3263, allocations: 334.8 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.3266, allocations: 151.9 kB / 1.026 GB, free: 2.301 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.327, allocations: 246.7 kB / 1.026 GB, free: 2.023 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.3275, allocations: 401.6 kB / 1.026 GB, free: 1.566 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3275, allocations: 4 kB / 1.026 GB, free: 1.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001009/0.3285, allocations: 0.6225 MB / 1.027 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.3287, allocations: 160.5 kB / 1.027 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3287, allocations: 3.938 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3287, allocations: 4 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.3287, allocations: 19.92 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3287, allocations: 4 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008246/0.3296, allocations: 143.9 kB / 1.027 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-05/0.3297, allocations: 31.97 kB / 1.027 GB, free: 0.5117 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.0001781/0.3298, allocations: 165.5 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.3299, allocations: 15.81 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.3299, allocations: 21.81 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3299, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3299, allocations: 0 / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3299, allocations: 3.984 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.3306, allocations: 0.5118 MB / 1.028 GB, free: 15.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3306, allocations: 3.984 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.3306, allocations: 8.062 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3306, allocations: 0 / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.3307, allocations: 11.98 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3307, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3307, allocations: 0 / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.331, allocations: 293.2 kB / 1.028 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.3311, allocations: 92.86 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3311, allocations: 4 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.3312, allocations: 4 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.399e-05/0.3312, allocations: 23.97 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3312, allocations: 8 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.786e-05/0.3313, allocations: 120.2 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3313, allocations: 0 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003619/0.3317, allocations: 79.98 kB / 1.029 GB, free: 15.07 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.0001799/0.3319, allocations: 124.3 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008321/0.3327, allocations: 0.6218 MB / 1.029 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3328, allocations: 0 / 1.029 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.3329, allocations: 79.91 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.3333, allocations: 63.16 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.3339, allocations: 354.1 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.3343, allocations: 0.732 MB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.3343, allocations: 23.44 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of SimCode: time 2.81e-07/0.3343, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of Templates: time 0.005845/0.3402, allocations: 3.335 MB / 1.034 GB, free: 9.656 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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