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.001548/0.001548, allocations: 103.5 kB / 16.35 MB, free: 5.875 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.001727/0.001727, allocations: 195.5 kB / 17.29 MB, free: 5.516 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 76.31 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3089, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002126/0.311, allocations: 0.8473 MB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3129, allocations: 1.479 MB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.3129, allocations: 4 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.313, allocations: 15.8 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.3131, allocations: 35.7 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.3143, allocations: 0.5135 MB / 1.03 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000585/0.3149, allocations: 0.4991 MB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.3151, allocations: 41.48 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3153, allocations: 183.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.3155, allocations: 171.5 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.002e-05/0.3156, allocations: 40 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3157, allocations: 59.98 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.3158, allocations: 47.89 kB / 1.031 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.316, allocations: 159.5 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003959/0.3164, allocations: 414.8 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3164, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3164, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.3164, allocations: 0 / 1.031 GB, free: 13.54 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.0007315/0.3171, allocations: 0.6438 MB / 1.032 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3172, allocations: 8.031 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.853e-05/0.3173, allocations: 28.75 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003192/0.3176, allocations: 265 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.3176, allocations: 16.38 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.3177, allocations: 28.38 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.318, allocations: 157.8 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.318, allocations: 192 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.318, allocations: 7.922 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.318, allocations: 4 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.3182, allocations: 83.89 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009157/0.3191, allocations: 0.707 MB / 1.033 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002132/0.3193, allocations: 171.8 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.3194, allocations: 52.75 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3194, allocations: 0 / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.3197, allocations: 156.7 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.3197, allocations: 0 / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0004368/0.3202, allocations: 251 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.3202, allocations: 51.41 kB / 1.034 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3204, allocations: 182.2 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.3204, allocations: 41.7 kB / 1.034 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3205, allocations: 132.4 kB / 1.034 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.3206, allocations: 43.53 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.3208, allocations: 113.6 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3209, allocations: 326.8 kB / 1.034 GB, free: 9.832 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.3212, allocations: 155.9 kB / 1.035 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.3216, allocations: 238.2 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000438/0.322, allocations: 409.6 kB / 1.035 GB, free: 8.945 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.265e-05/0.322, allocations: 4 kB / 1.035 GB, free: 8.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000931/0.323, allocations: 0.6147 MB / 1.036 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/0.3231, allocations: 164.5 kB / 1.036 GB, free: 8.098 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3231, allocations: 3.938 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3231, allocations: 4 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.389e-05/0.3232, allocations: 15.92 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.3232, allocations: 4 kB / 1.036 GB, free: 8.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006965/0.3239, allocations: 136 kB / 1.036 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.711e-05/0.324, allocations: 36.03 kB / 1.036 GB, free: 7.902 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.0001733/0.3242, allocations: 165.6 kB / 1.036 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.3242, allocations: 19.81 kB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.133e-05/0.3242, allocations: 21.81 kB / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3242, allocations: 0 / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3243, allocations: 0 / 1.036 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.3243, allocations: 3.984 kB / 1.036 GB, free: 7.688 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.3248, allocations: 0.5021 MB / 1.037 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3248, allocations: 4.094 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.3248, allocations: 19.81 kB / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3248, allocations: 0 / 1.037 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3249, allocations: 7.984 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3249, allocations: 0 / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3249, allocations: 0 / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3251, allocations: 280.9 kB / 1.037 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3252, allocations: 100.8 kB / 1.037 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3252, allocations: 8 kB / 1.037 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.3253, allocations: 0 / 1.037 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.3254, allocations: 23.97 kB / 1.037 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3254, allocations: 8 kB / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.822e-05/0.3255, allocations: 120.2 kB / 1.037 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3255, allocations: 0 / 1.037 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003448/0.3258, allocations: 75.98 kB / 1.037 GB, free: 6.461 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.0001775/0.326, allocations: 121 kB / 1.038 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007047/0.3267, allocations: 0.6164 MB / 1.038 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3267, allocations: 0 / 1.038 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3268, allocations: 82.14 kB / 1.038 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.3273, allocations: 52.56 kB / 1.038 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.3278, allocations: 324.2 kB / 1.039 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.3281, allocations: 0.7203 MB / 1.039 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.655e-05/0.3281, 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.394e-05/0.3282, allocations: 19.44 kB / 1.039 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of SimCode: time 1.673e-06/0.3282, allocations: 0 / 1.039 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of Templates: time 0.007611/0.3358, allocations: 4.569 MB / 1.044 GB, free: 15.89 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 gbode -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