Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009234/0.0009234, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002265, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009084/0.0009084, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00125/0.002158, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9523/0.9523, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09211/1.044, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.404/2.404, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2466/2.65, allocations: 146 MB / 0.8176 GB, free: 3.781 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.324e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001315/0.001338, allocations: 0.7 MB / 0.8196 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002464, allocations: 1.244 MB / 0.8208 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.002502, allocations: 4 kB / 0.8208 GB, free: 492 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.002526, allocations: 3.938 kB / 0.8208 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.002568, allocations: 11.88 kB / 0.8209 GB, free: 476 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.002928, allocations: 211.4 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.003142, allocations: 171.7 kB / 0.8212 GB, free: 92 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.859e-05/0.003211, allocations: 8 kB / 0.8212 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.003325, allocations: 99.91 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.003435, allocations: 47.86 kB / 0.8214 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.003465, allocations: 16 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.054e-05/0.003545, allocations: 35.97 kB / 0.8214 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.00357, allocations: 8 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.003614, allocations: 35.94 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003754, allocations: 103.7 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.003764, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003765, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.238e-05/0.003777, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 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.0004677/0.004245, allocations: 347.8 kB / 0.8219 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.004285, allocations: 16.03 kB / 0.8219 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.004336, allocations: 12.92 kB / 0.8219 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.004511, allocations: 113.7 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.004527, allocations: 8.359 kB / 0.822 GB, free: 15.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.004551, allocations: 8.375 kB / 0.822 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.698e-05/0.004638, allocations: 46.19 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.004648, allocations: 4.172 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.004657, allocations: 384 / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.004664, allocations: 4.359 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.591e-05/0.00468, allocations: 7.938 kB / 0.8221 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.004962, allocations: 188.3 kB / 0.8223 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.224e-05/0.005034, allocations: 30.58 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.559e-05/0.00505, allocations: 8.859 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.005056, allocations: 0 / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.005179, allocations: 87.38 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.00518, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001494/0.005329, allocations: 77.53 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.00537, allocations: 55.41 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.349e-05/0.005443, allocations: 118.7 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.005466, allocations: 29.7 kB / 0.8227 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.005512, allocations: 96.12 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.005528, allocations: 19.83 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.005583, allocations: 41.67 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.005666, allocations: 318.8 kB / 0.8231 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.005741, allocations: 103.3 kB / 0.8232 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.005822, allocations: 135.6 kB / 0.8234 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.005925, allocations: 151.5 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005927, allocations: 4 kB / 0.8235 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000273/0.0062, allocations: 260.3 kB / 0.8238 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.006251, allocations: 67.39 kB / 0.8238 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006257, allocations: 3.938 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.006272, allocations: 4 kB / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.709e-05/0.006289, allocations: 0 / 0.8238 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.006294, allocations: 4 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.006456, allocations: 48.03 kB / 0.8239 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.006473, allocations: 11.98 kB / 0.8239 GB, free: 13.09 MB / 0.8073 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 5.838e-05/0.006532, allocations: 121.8 kB / 0.824 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.006539, allocations: 4 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.00656, allocations: 16.36 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006561, allocations: 0 / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.006563, allocations: 4 kB / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.006565, allocations: 0 / 0.824 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.61e-05/0.006631, allocations: 73.88 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006632, allocations: 0 / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.006638, allocations: 8 kB / 0.8241 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-06/0.006646, allocations: 7.891 kB / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.006647, allocations: 0 / 0.8241 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.006651, allocations: 4 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.006654, allocations: 3.938 kB / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.006655, allocations: 0 / 0.8241 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.382e-05/0.006729, allocations: 85.05 kB / 0.8242 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.006739, allocations: 3.984 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.00675, allocations: 0 / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.006778, allocations: 7.938 kB / 0.8242 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.006785, allocations: 12.05 kB / 0.8242 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.74e-05/0.006802, allocations: 21.31 kB / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006802, allocations: 0 / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001364/0.006939, allocations: 28 kB / 0.8243 GB, free: 12.64 MB / 0.8073 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 9.363e-05/0.007032, allocations: 84.41 kB / 0.8244 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.007212, allocations: 266.9 kB / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.007216, allocations: 0 / 0.8246 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.007241, allocations: 20.84 kB / 0.8246 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.007396, allocations: 135.4 kB / 0.8248 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003886/0.007785, allocations: 147.2 kB / 0.8249 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.163e-05/0.007816, allocations: 63.2 kB / 0.825 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.007837, allocations: 8 kB / 0.825 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.007971, allocations: 79.34 kB / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.007972, allocations: 0 / 0.825 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of Templates: time 0.003379/0.01135, allocations: 2.258 MB / 0.8272 GB, free: 9.527 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Or.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.078607597388327]