Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001155/0.001155, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001438/0.001438, allocations: 165 kB / 23.82 MB, free: 0.75 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.072/1.072, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.828/1.828, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.348e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.43e-05/3.865e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001573/0.001611, allocations: 0.6622 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003045, allocations: 1.226 MB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.077e-05/0.003096, allocations: 4 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/0.003131, allocations: 5.312 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.098e-05/0.003222, allocations: 19.84 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.003867, allocations: 204.6 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.004091, allocations: 177.5 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004212, allocations: 7.984 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.004342, allocations: 87.94 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.004468, allocations: 59.78 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.004501, allocations: 16.78 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.004582, allocations: 23.98 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.004613, allocations: 13.05 kB / 0.7896 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.004684, allocations: 51.89 kB / 0.7896 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.004892, allocations: 127.8 kB / 0.7897 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.004897, allocations: 5.375 kB / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004898, allocations: 0 / 0.7897 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.004905, allocations: 0 / 0.7897 GB, free: 9.797 MB / 0.7448 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.0005298/0.005435, allocations: 469.4 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.00548, allocations: 12.03 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.005544, allocations: 16.89 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.7e-05/0.005641, allocations: 116.5 kB / 0.7903 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.005657, allocations: 4.375 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.00568, allocations: 10.03 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.944e-05/0.00578, allocations: 46.23 kB / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.005788, allocations: 192 / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.0058, allocations: 4.375 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005807, allocations: 2.969 kB / 0.7904 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.576e-05/0.005833, allocations: 15.86 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.006284, allocations: 327.7 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.006367, allocations: 35.06 kB / 0.7907 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.006394, allocations: 15.77 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.006403, allocations: 0 / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.006538, allocations: 93.55 kB / 0.7909 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.00654, allocations: 0 / 0.7909 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002298/0.00677, allocations: 95.5 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.006814, allocations: 59.41 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/0.006909, allocations: 181.8 kB / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.006934, allocations: 33.7 kB / 0.7912 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.007, allocations: 136.6 kB / 0.7913 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.007018, allocations: 15.89 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.007093, allocations: 55.34 kB / 0.7914 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.007227, allocations: 0.4884 MB / 0.7919 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.007348, allocations: 111.4 kB / 0.792 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.007473, allocations: 162.3 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.007616, allocations: 160.7 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.00762, allocations: 0 / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003335/0.007954, allocations: 318.2 kB / 0.7926 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.008007, allocations: 71.39 kB / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.008013, allocations: 0 / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.008034, allocations: 0 / 0.7927 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.008067, allocations: 7.938 kB / 0.7927 GB, free: 6.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.008075, allocations: 3.984 kB / 0.7927 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.008264, allocations: 44.97 kB / 0.7927 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.008286, allocations: 12.7 kB / 0.7927 GB, free: 6.406 MB / 0.7448 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.0001033/0.008389, allocations: 172.4 kB / 0.7929 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.008408, allocations: 13.39 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.508e-05/0.008443, allocations: 16.42 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.008446, allocations: 0 / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.008451, allocations: 3.984 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.008455, allocations: 0.5312 kB / 0.7929 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.008558, allocations: 126 kB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.008561, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-06/0.008566, allocations: 7.938 kB / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.008569, allocations: 0 / 0.7931 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.008579, allocations: 5.094 kB / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.00858, allocations: 0 / 0.7931 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.008582, allocations: 4 kB / 0.7931 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.008727, allocations: 117.7 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.008741, allocations: 7.938 kB / 0.7932 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.008756, allocations: 11.94 kB / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.008771, allocations: 0 / 0.7932 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.008811, allocations: 4.891 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.008818, allocations: 8.062 kB / 0.7932 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.008867, allocations: 140 kB / 0.7933 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008867, allocations: 0 / 0.7933 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001756/0.009043, allocations: 28 kB / 0.7934 GB, free: 5.699 MB / 0.7448 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.0001609/0.009204, allocations: 100.6 kB / 0.7935 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002906/0.009495, allocations: 274.3 kB / 0.7937 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.009498, allocations: 4.656 kB / 0.7937 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.009534, allocations: 25.45 kB / 0.7938 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.00975, allocations: 16.73 kB / 0.7938 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.01014, allocations: 163.5 kB / 0.7939 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.743e-05/0.01019, allocations: 63.34 kB / 0.794 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.15e-05/0.01022, allocations: 7.469 kB / 0.794 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.01025, allocations: 12.5 kB / 0.794 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.01025, allocations: 0 / 0.794 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of Templates: time 0.004262/0.01451, allocations: 2.05 MB / 0.796 GB, free: 2.965 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.319752288982272]