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.0009235/0.0009235, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.0009591/0.0009591, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9663/0.9663, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.696/1.696, allocations: 359 MB / 0.6055 GB, free: 10.86 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 1.492e-06/1.492e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.407e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001106/0.00112, allocations: 0.6583 MB / 0.7882 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.002232, allocations: 1.245 MB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.061e-05/0.002273, allocations: 1.062 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.002295, allocations: 3.938 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.948e-05/0.002364, allocations: 5.5 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.002793, allocations: 213.8 kB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.002941, allocations: 171.7 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.003011, allocations: 11.98 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003114, allocations: 95.86 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.00321, allocations: 51.84 kB / 0.79 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.003236, allocations: 16 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.003295, allocations: 33.73 kB / 0.79 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.425e-05/0.003319, allocations: 4 kB / 0.79 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.003369, allocations: 55.89 kB / 0.7901 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.003512, allocations: 131.7 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.003514, allocations: 0.5938 kB / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.003515, allocations: 0 / 0.7902 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.003518, allocations: 5.344 kB / 0.7902 GB, free: 9.473 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.0003365/0.003854, allocations: 455.9 kB / 0.7906 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.003891, allocations: 8.031 kB / 0.7906 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.00393, allocations: 16.88 kB / 0.7907 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.066e-05/0.004, allocations: 121.7 kB / 0.7908 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.004012, allocations: 4.375 kB / 0.7908 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.004029, allocations: 12.38 kB / 0.7908 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.832e-05/0.004088, allocations: 43.05 kB / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.004093, allocations: 192 / 0.7908 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.15e-06/0.004098, allocations: 9.219 kB / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.004103, allocations: 384 / 0.7908 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.367e-05/0.004116, allocations: 14.47 kB / 0.7909 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002603/0.004376, allocations: 304.3 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.867e-05/0.004425, allocations: 43.03 kB / 0.7912 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.353e-05/0.004439, allocations: 11.69 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.004444, allocations: 0 / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.766e-05/0.004522, allocations: 81.05 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.004523, allocations: 0.5 kB / 0.7913 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000139/0.004662, allocations: 98.5 kB / 0.7914 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.004686, allocations: 51.41 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.004759, allocations: 178.4 kB / 0.7916 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.00478, allocations: 37.64 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.00483, allocations: 136.5 kB / 0.7917 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.004845, allocations: 23.83 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.934e-05/0.004904, allocations: 55.33 kB / 0.7918 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.00501, allocations: 496.1 kB / 0.7923 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.27e-05/0.005083, allocations: 103.9 kB / 0.7924 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.28e-05/0.005166, allocations: 146.4 kB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.005526, allocations: 164.1 kB / 0.7927 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005528, allocations: 0 / 0.7927 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002315/0.005759, allocations: 301.7 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.005796, allocations: 71.33 kB / 0.793 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.005802, allocations: 5.828 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.005811, allocations: 3.984 kB / 0.7931 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.227e-05/0.005823, allocations: 7.938 kB / 0.7931 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/0.005827, allocations: 3.984 kB / 0.7931 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.005958, allocations: 36.81 kB / 0.7931 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.005976, allocations: 16.83 kB / 0.7931 GB, free: 6.164 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 6.778e-05/0.006043, allocations: 161.9 kB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.064e-05/0.006054, allocations: 11.95 kB / 0.7933 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.903e-05/0.006073, allocations: 16.36 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.006075, allocations: 0 / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.006076, allocations: 0.8438 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.006079, allocations: 0 / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.006152, allocations: 110.5 kB / 0.7934 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.006153, allocations: 3.938 kB / 0.7934 GB, free: 5.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.006158, allocations: 7.938 kB / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.00616, allocations: 1.312 kB / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.006164, allocations: 0 / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.006165, allocations: 0 / 0.7934 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.006166, allocations: 3.938 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.052e-05/0.006257, allocations: 117.9 kB / 0.7935 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.168e-06/0.006266, allocations: 11.94 kB / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.017e-06/0.006275, allocations: 0 / 0.7935 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.118e-05/0.006286, allocations: 4 kB / 0.7936 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.00631, allocations: 14.7 kB / 0.7936 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.006312, allocations: 0 / 0.7936 GB, free: 5.66 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.341e-05/0.006346, allocations: 131.2 kB / 0.7937 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006346, allocations: 3.938 kB / 0.7937 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000151/0.006497, allocations: 39.92 kB / 0.7937 GB, free: 5.488 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 8.231e-05/0.006579, allocations: 95.25 kB / 0.7938 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.006762, allocations: 266.8 kB / 0.7941 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006763, allocations: 1.938 kB / 0.7941 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.342e-05/0.006786, allocations: 23.67 kB / 0.7941 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.006915, allocations: 15.98 kB / 0.7941 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.007121, allocations: 163.4 kB / 0.7943 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.48e-05/0.007156, allocations: 66.44 kB / 0.7943 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.007174, allocations: 6.875 kB / 0.7943 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.583e-05/0.007269, allocations: 98.17 kB / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.00727, allocations: 0 / 0.7944 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of Templates: time 0.003185/0.01046, allocations: 2.23 MB / 0.7966 GB, free: 2.5 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: 4.811547400895506]