Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 80.41 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 161.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.923/2.923, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.316e-06/3.316e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.949e-05/4.281e-05, allocations: 6.844 kB / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002166/0.002208, allocations: 0.6477 MB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002521/0.00473, allocations: 1.211 MB / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.004807, allocations: 0 / 0.8126 GB, free: 212 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.5e-05/0.004852, allocations: 3.938 kB / 0.8126 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.00499, allocations: 21.06 kB / 0.8127 GB, free: 188 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009756/0.005965, allocations: 204.8 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.006322, allocations: 180.7 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.006438, allocations: 11.98 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.006657, allocations: 91.92 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.006818, allocations: 48.73 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.00687, allocations: 16 kB / 0.8132 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.006972, allocations: 31.97 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.007006, allocations: 5.219 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.007118, allocations: 55.88 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.007447, allocations: 175.6 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.007453, allocations: 1.438 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.844e-06/0.007455, allocations: 4 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.007461, allocations: 0 / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007325/0.008194, allocations: 353.6 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.00824, allocations: 13.5 kB / 0.8138 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.008336, allocations: 16.89 kB / 0.8138 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.008486, allocations: 105.7 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.008514, allocations: 8.375 kB / 0.8139 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.008558, allocations: 17.64 kB / 0.8139 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.008696, allocations: 42.25 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.008706, allocations: 4.125 kB / 0.814 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.00872, allocations: 6.25 kB / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.008725, allocations: 384 / 0.814 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.008779, allocations: 19.92 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005897/0.009369, allocations: 272.5 kB / 0.8143 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.009488, allocations: 26.58 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.879e-05/0.009537, allocations: 26.25 kB / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.009551, allocations: 0 / 0.8143 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002361/0.009787, allocations: 79.31 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.009788, allocations: 1.344 kB / 0.8144 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0003329/0.01012, allocations: 109.6 kB / 0.8145 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.01018, allocations: 59.34 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.01033, allocations: 122.4 kB / 0.8147 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.01038, allocations: 29.7 kB / 0.8147 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.01048, allocations: 96.75 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.0105, allocations: 13.81 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.01062, allocations: 57.67 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.0108, allocations: 310.8 kB / 0.8152 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.011, allocations: 123.4 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.01121, allocations: 155.7 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.0116, allocations: 161.3 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.01161, allocations: 1.375 kB / 0.8156 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005912/0.0122, allocations: 344.8 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.353e-05/0.01227, allocations: 63.39 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.01228, allocations: 1.094 kB / 0.816 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.344e-05/0.01231, allocations: 4.062 kB / 0.816 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.888e-05/0.01234, allocations: 8 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.01235, allocations: 4.75 kB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.01272, allocations: 53.45 kB / 0.816 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.01275, allocations: 11.94 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001317/0.01288, allocations: 125.3 kB / 0.8162 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.01291, allocations: 21.17 kB / 0.8162 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.01294, allocations: 8.438 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.01294, allocations: 0 / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.01295, allocations: 0 / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01295, allocations: 0.9688 kB / 0.8162 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.0131, allocations: 121.3 kB / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.0131, allocations: 6.297 kB / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.306e-06/0.01311, allocations: 0 / 0.8163 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.01312, allocations: 3.938 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.01313, allocations: 4 kB / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01313, allocations: 0 / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01313, allocations: 0 / 0.8163 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.01334, allocations: 113.1 kB / 0.8164 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.093e-05/0.01336, allocations: 15.31 kB / 0.8165 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01338, allocations: 7.938 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.206e-05/0.0134, allocations: 7.938 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.01345, allocations: 3.984 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.01346, allocations: 4 kB / 0.8165 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.01353, allocations: 91.27 kB / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01353, allocations: 0 / 0.8166 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002464/0.01377, allocations: 32 kB / 0.8166 GB, free: 11.84 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001809/0.01395, allocations: 99.98 kB / 0.8167 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.01438, allocations: 279.2 kB / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01438, allocations: 0 / 0.817 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.01443, allocations: 24.53 kB / 0.817 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01468, allocations: 21.86 kB / 0.817 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.0151, allocations: 166.1 kB / 0.8172 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.19e-05/0.01519, allocations: 71.98 kB / 0.8172 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.01522, allocations: 8 kB / 0.8172 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.01525, allocations: 9.781 kB / 0.8172 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of SimCode: time 7.11e-07/0.01525, allocations: 0 / 0.8172 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.006099/0.02135, allocations: 2.055 MB / 0.8192 GB, free: 9.109 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.797464155009948]