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.001633/0.001633, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001225/0.001225, allocations: 165 kB / 23.82 MB, free: 0.7422 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 0.992/0.992, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.85/1.85, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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 1.904e-06/1.904e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.748e-05, allocations: 3.938 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001268/0.001295, allocations: 0.667 MB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.002725, allocations: 1.238 MB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.002783, allocations: 0 / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.002821, allocations: 3.938 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.08e-05/0.002912, allocations: 20.36 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005784/0.00349, allocations: 205.6 kB / 0.7892 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.003681, allocations: 182.2 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.003772, allocations: 4 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003875, allocations: 95.86 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.003979, allocations: 51.91 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.004007, allocations: 16 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.067e-05/0.004068, allocations: 23.98 kB / 0.7896 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.441e-05/0.004092, allocations: 11.94 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.00415, allocations: 49.62 kB / 0.7896 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.004321, allocations: 139.6 kB / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004323, allocations: 0 / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.01e-07/0.004324, allocations: 0 / 0.7897 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.004328, allocations: 0 / 0.7897 GB, free: 9.766 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.0004928/0.004821, allocations: 460.5 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.004863, allocations: 12.66 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.004921, allocations: 16.89 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.005002, allocations: 113.6 kB / 0.7903 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.005018, allocations: 4.375 kB / 0.7903 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.005039, allocations: 8.375 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.652e-05/0.005126, allocations: 48.08 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.005133, allocations: 192 / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.005143, allocations: 4.312 kB / 0.7904 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.005151, allocations: 4.375 kB / 0.7904 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.005174, allocations: 11.92 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.005558, allocations: 329.2 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.005626, allocations: 35.06 kB / 0.7907 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.005649, allocations: 15.77 kB / 0.7908 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.005656, allocations: 4.906 kB / 0.7908 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.005801, allocations: 80.97 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.703e-06/0.005803, allocations: 2.562 kB / 0.7908 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002096/0.006013, allocations: 93.84 kB / 0.7909 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.006053, allocations: 59.34 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006157, allocations: 185.8 kB / 0.7912 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.006181, allocations: 33.7 kB / 0.7912 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.006237, allocations: 134.8 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.006255, allocations: 20.38 kB / 0.7913 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.006319, allocations: 55.33 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.006456, allocations: 0.4891 MB / 0.7919 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.006572, allocations: 111.4 kB / 0.792 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.006694, allocations: 162.3 kB / 0.7921 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.00682, allocations: 159.4 kB / 0.7923 GB, free: 6.875 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.006823, allocations: 4.531 kB / 0.7923 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003039/0.007127, allocations: 325.5 kB / 0.7926 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.007172, allocations: 67.39 kB / 0.7927 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.007178, allocations: 5.156 kB / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.007191, allocations: 0 / 0.7927 GB, free: 6.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.856e-05/0.007209, allocations: 4 kB / 0.7927 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.007217, allocations: 9.422 kB / 0.7927 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.00739, allocations: 39.97 kB / 0.7927 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.007409, allocations: 12.89 kB / 0.7927 GB, free: 6.379 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 8.458e-05/0.007493, allocations: 168.6 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.007505, allocations: 11.89 kB / 0.7929 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.007528, allocations: 17.52 kB / 0.7929 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.007532, allocations: 4 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.007536, allocations: 0 / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.007539, allocations: 0.8438 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.863e-05/0.007638, allocations: 124.6 kB / 0.793 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.007639, allocations: 0 / 0.793 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-06/0.007644, allocations: 5.406 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.007645, allocations: 0 / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.007654, allocations: 7.938 kB / 0.7931 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.007656, allocations: 3.984 kB / 0.7931 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007657, allocations: 1.125 kB / 0.7931 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.007765, allocations: 116.4 kB / 0.7932 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.007772, allocations: 3.953 kB / 0.7932 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.007783, allocations: 5.875 kB / 0.7932 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.007794, allocations: 8 kB / 0.7932 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.007827, allocations: 7.922 kB / 0.7932 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.007832, allocations: 4 kB / 0.7932 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.164e-05/0.007874, allocations: 135.2 kB / 0.7933 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007874, allocations: 6.344 kB / 0.7933 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001483/0.008022, allocations: 31.94 kB / 0.7934 GB, free: 5.676 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.000108/0.00813, allocations: 99.25 kB / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002489/0.008379, allocations: 278.3 kB / 0.7937 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.00838, allocations: 1.938 kB / 0.7937 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.232e-05/0.008412, allocations: 27.67 kB / 0.7938 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.008582, allocations: 22.05 kB / 0.7938 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.008879, allocations: 163.8 kB / 0.7939 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.496e-05/0.008924, allocations: 61.78 kB / 0.794 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.905e-05/0.008943, allocations: 4.656 kB / 0.794 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.129e-05/0.008965, allocations: 13.28 kB / 0.794 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.008965, allocations: 0 / 0.794 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.004024/0.01299, allocations: 2.234 MB / 0.7962 GB, free: 2.75 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.383978447876871]