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.0009601/0.0009601, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.00112/0.00112, allocations: 170.5 kB / 24.87 MB, free: 8.887 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.028/1.028, allocations: 177.1 MB / 205.3 MB, free: 5.039 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.83/1.83, allocations: 359 MB / 0.6063 GB, free: 10.91 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 2.574e-06/2.574e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.065e-05, allocations: 4.984 kB / 0.7883 GB, free: 12.22 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001685/0.001716, allocations: 0.6672 MB / 0.789 GB, free: 11.57 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.003231, allocations: 1.234 MB / 0.7902 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.169e-05/0.003282, allocations: 4 kB / 0.7902 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.00331, allocations: 0.9688 kB / 0.7902 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.003388, allocations: 7.875 kB / 0.7902 GB, free: 10.31 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.003934, allocations: 216.7 kB / 0.7904 GB, free: 10.1 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.002656/0.00659, allocations: 172.4 kB / 0.7906 GB, free: 9.93 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.006699, allocations: 13.05 kB / 0.7906 GB, free: 9.918 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.006887, allocations: 91.92 kB / 0.7907 GB, free: 9.828 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.00707, allocations: 51.84 kB / 0.7907 GB, free: 9.777 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.007118, allocations: 18.81 kB / 0.7907 GB, free: 9.762 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 9.696e-05/0.007215, allocations: 27.98 kB / 0.7908 GB, free: 9.734 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.007242, allocations: 4 kB / 0.7908 GB, free: 9.73 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.00732, allocations: 59.88 kB / 0.7908 GB, free: 9.672 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.007576, allocations: 131.7 kB / 0.7909 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.007581, allocations: 0 / 0.7909 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.634e-06/0.007583, allocations: 0 / 0.7909 GB, free: 9.543 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.007588, allocations: 1.406 kB / 0.7909 GB, free: 9.543 MB / 0.7449 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.000556/0.008144, allocations: 463.8 kB / 0.7914 GB, free: 9.039 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.008187, allocations: 12.03 kB / 0.7914 GB, free: 9.027 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.008259, allocations: 16.88 kB / 0.7914 GB, free: 9.012 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.008369, allocations: 121.1 kB / 0.7915 GB, free: 8.867 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.00839, allocations: 4.375 kB / 0.7915 GB, free: 8.863 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.008419, allocations: 9.281 kB / 0.7915 GB, free: 8.855 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.012e-05/0.008509, allocations: 46.23 kB / 0.7916 GB, free: 8.805 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.008518, allocations: 0.9375 kB / 0.7916 GB, free: 8.805 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.008526, allocations: 384 / 0.7916 GB, free: 8.805 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.008534, allocations: 5.906 kB / 0.7916 GB, free: 8.801 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.799e-05/0.008562, allocations: 7.938 kB / 0.7916 GB, free: 8.793 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.008997, allocations: 308.3 kB / 0.7919 GB, free: 8.465 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 8.244e-05/0.009079, allocations: 40.17 kB / 0.7919 GB, free: 8.414 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.0091, allocations: 11.69 kB / 0.7919 GB, free: 8.398 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-06/0.009109, allocations: 3.984 kB / 0.7919 GB, free: 8.395 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.009247, allocations: 85.64 kB / 0.792 GB, free: 8.297 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.009249, allocations: 2.5 kB / 0.792 GB, free: 8.297 MB / 0.7449 GB Notification: Performance of matching and sorting (n=7): time 0.0002349/0.009484, allocations: 97.48 kB / 0.7921 GB, free: 8.195 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.009525, allocations: 51.41 kB / 0.7922 GB, free: 8.133 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.009646, allocations: 185.8 kB / 0.7923 GB, free: 7.934 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 3.198e-05/0.009678, allocations: 29.7 kB / 0.7924 GB, free: 7.898 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.009765, allocations: 138.9 kB / 0.7925 GB, free: 7.758 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.009785, allocations: 15.89 kB / 0.7925 GB, free: 7.742 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.009892, allocations: 55.86 kB / 0.7926 GB, free: 7.68 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.01004, allocations: 0.4891 MB / 0.7931 GB, free: 7.18 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.01017, allocations: 99.38 kB / 0.7931 GB, free: 7.07 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.01032, allocations: 150.3 kB / 0.7933 GB, free: 6.891 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.01049, allocations: 155.4 kB / 0.7934 GB, free: 6.707 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.0105, allocations: 4 kB / 0.7934 GB, free: 6.703 MB / 0.7449 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000446/0.01094, allocations: 297.6 kB / 0.7937 GB, free: 6.383 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.01101, allocations: 72.02 kB / 0.7938 GB, free: 6.301 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01101, allocations: 7.984 kB / 0.7938 GB, free: 6.293 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.01103, allocations: 0.9375 kB / 0.7938 GB, free: 6.293 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.332e-05/0.01105, allocations: 4 kB / 0.7938 GB, free: 6.289 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01105, allocations: 1.375 kB / 0.7938 GB, free: 6.289 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.0113, allocations: 39.97 kB / 0.7938 GB, free: 6.25 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.01134, allocations: 17.73 kB / 0.7939 GB, free: 6.234 MB / 0.7449 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.0001256/0.01146, allocations: 172.5 kB / 0.794 GB, free: 6.055 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.01149, allocations: 11.94 kB / 0.794 GB, free: 6.043 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.01152, allocations: 12.38 kB / 0.7941 GB, free: 6.035 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01152, allocations: 4.875 kB / 0.7941 GB, free: 6.031 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01153, allocations: 0 / 0.7941 GB, free: 6.031 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01153, allocations: 0.8438 kB / 0.7941 GB, free: 6.031 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01165, allocations: 105.2 kB / 0.7942 GB, free: 5.902 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01165, allocations: 1.688 kB / 0.7942 GB, free: 5.902 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.01166, allocations: 4 kB / 0.7942 GB, free: 5.898 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.01167, allocations: 4 kB / 0.7942 GB, free: 5.895 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.01167, allocations: 0 / 0.7942 GB, free: 5.895 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.01167, allocations: 0 / 0.7942 GB, free: 5.895 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.01168, allocations: 4.781 kB / 0.7942 GB, free: 5.891 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.01185, allocations: 116.6 kB / 0.7943 GB, free: 5.754 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.01186, allocations: 14.16 kB / 0.7943 GB, free: 5.742 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.01188, allocations: 4 kB / 0.7943 GB, free: 5.738 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.0119, allocations: 0 / 0.7943 GB, free: 5.738 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.01193, allocations: 11.92 kB / 0.7943 GB, free: 5.727 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.01194, allocations: 0 / 0.7943 GB, free: 5.727 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.884e-05/0.012, allocations: 139.2 kB / 0.7944 GB, free: 5.59 MB / 0.7449 GB Notification: Performance of sort global known variables: time 9e-08/0.012, allocations: 2.125 kB / 0.7944 GB, free: 5.59 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002737/0.01227, allocations: 24 kB / 0.7945 GB, free: 5.566 MB / 0.7449 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.000167/0.01244, allocations: 99.25 kB / 0.7946 GB, free: 5.457 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.01276, allocations: 270.4 kB / 0.7948 GB, free: 5.152 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01277, allocations: 0.5312 kB / 0.7948 GB, free: 5.152 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 4.795e-05/0.01281, allocations: 33.5 kB / 0.7949 GB, free: 5.117 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.01307, allocations: 20.67 kB / 0.7949 GB, free: 5.098 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.01342, allocations: 159.9 kB / 0.795 GB, free: 4.91 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.01346, allocations: 63.34 kB / 0.7951 GB, free: 4.828 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.963e-05/0.0135, allocations: 4 kB / 0.7951 GB, free: 4.824 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.01366, allocations: 98.7 kB / 0.7952 GB, free: 4.727 MB / 0.7449 GB Notification: Performance of SimCode: time 8.12e-07/0.01366, allocations: 0.8438 kB / 0.7952 GB, free: 4.727 MB / 0.7449 GB Notification: Performance of Templates: time 0.006315/0.01998, allocations: 2.282 MB / 0.7974 GB, free: 2.52 MB / 0.7449 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.119150524958968]