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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 110.8 kB / 18.88 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002357/0.002357, allocations: 198.4 kB / 22.17 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.825/2.825, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002005/0.002005, allocations: 67.91 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9833/0.9853, allocations: 168.7 MB / 1.274 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002041/0.9873, allocations: 0.6627 MB / 1.275 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.989, allocations: 1.198 MB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.989, allocations: 0 / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.9891, allocations: 3.938 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.343e-05/0.9892, allocations: 11.92 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.9898, allocations: 217.5 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002811/0.9901, allocations: 179.6 kB / 1.276 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.9902, allocations: 11.98 kB / 1.276 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.9903, allocations: 67.89 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.9905, allocations: 59.84 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.113e-05/0.9905, allocations: 12 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.443e-05/0.9906, allocations: 31.98 kB / 1.276 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.9906, allocations: 11.98 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.9907, allocations: 51.83 kB / 1.277 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.9909, allocations: 158.2 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.9909, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9909, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.9909, allocations: 0 / 1.277 GB, free: 1.938 MB / 0.9669 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.0006515/0.9916, allocations: 442.7 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.9916, allocations: 8.031 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.9917, allocations: 12.89 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.9918, allocations: 172.3 kB / 1.277 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.9919, allocations: 8.359 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.9919, allocations: 8.375 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.992, allocations: 46.25 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.992, allocations: 192 / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.992, allocations: 3.938 kB / 1.277 GB, free: 1.145 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.9921, allocations: 8 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.42e-05/0.9921, allocations: 15.98 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.9927, allocations: 356.6 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.497e-05/0.9928, allocations: 34.5 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.9928, allocations: 16.94 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.9928, allocations: 4 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.9931, allocations: 88.84 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.9931, allocations: 0 / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0002687/0.9933, allocations: 97.62 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.9934, allocations: 55.41 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.9935, allocations: 117.8 kB / 1.278 GB, free: 272 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.9935, allocations: 29.7 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.9936, allocations: 92.09 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.9936, allocations: 23.89 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.9937, allocations: 53.67 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.994, allocations: 318.8 kB / 1.279 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.9941, allocations: 63.91 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001639/0.9943, allocations: 96.25 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002739/0.9945, allocations: 164 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.9945, allocations: 7.938 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004733/0.995, allocations: 256.9 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.9951, allocations: 67.39 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.9951, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.9951, allocations: 12.11 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.237e-05/0.9951, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.9951, allocations: 7.938 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.9956, allocations: 59.83 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.9956, allocations: 11.98 kB / 1.279 GB, free: 14.93 MB / 0.9825 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.0001206/0.9957, allocations: 126.3 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.9957, allocations: 7.953 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.9958, allocations: 8.375 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.9958, allocations: 4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.9958, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.9958, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.9959, allocations: 177.6 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.9959, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-06/0.9959, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9959, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.9959, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.9959, allocations: 8 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.9959, allocations: 0 / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.9961, allocations: 117.2 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.915e-05/0.9962, allocations: 85.09 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.9962, allocations: 0 / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.314e-05/0.9962, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.9963, allocations: 4 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.9963, allocations: 7.984 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.522e-05/0.9963, allocations: 95.22 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9963, allocations: 0 / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00024/0.9966, allocations: 35.98 kB / 1.28 GB, free: 14.16 MB / 0.9825 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.0001562/0.9967, allocations: 98.2 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.9971, allocations: 222.6 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9971, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.996e-05/0.9972, allocations: 32.23 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.9974, allocations: 26.45 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.9978, allocations: 174.5 kB / 1.28 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.9982, allocations: 0.6807 MB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001042/0.9983, allocations: 7.984 kB / 1.281 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.9983, allocations: 11.44 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.9983, allocations: 4 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of Templates: time 0.005515/1.004, allocations: 1.856 MB / 1.283 GB, free: 11 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.0924081960693]