Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.9 MB / 297.4 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001296/0.001296, allocations: 172.9 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.3 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008944/0.0008943, allocations: 92.98 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.721e-05/1.723e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6117/0.6117, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1767/0.7884, allocations: 138.3 MB / 1.108 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.7887, allocations: 68.66 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005031/0.7937, allocations: 1.773 MB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7938, allocations: 0.7188 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.7938, allocations: 2.625 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003788/0.7942, allocations: 360.9 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.7942, allocations: 12.81 kB / 1.111 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.906e-05/0.7943, allocations: 7.906 kB / 1.111 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.7944, allocations: 167.6 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.7944, allocations: 3.031 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.7945, allocations: 4 kB / 1.111 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.097e-05/0.7945, allocations: 4 kB / 1.111 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.685e-05/0.7946, allocations: 37.69 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7946, allocations: 0 / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7947, allocations: 0 / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.7947, allocations: 0 / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.795, allocations: 268.8 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.7951, allocations: 22.52 kB / 1.111 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.7951, allocations: 7.422 kB / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.076e-06/0.7951, allocations: 64 / 1.111 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.7953, allocations: 62.77 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 3.136e-06/0.7953, allocations: 3.984 kB / 1.111 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001806/0.7955, allocations: 49.69 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.7955, allocations: 63.28 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.7956, allocations: 96.91 kB / 1.111 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.7956, allocations: 37.69 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.7957, allocations: 80.14 kB / 1.111 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-06/0.7957, allocations: 4.812 kB / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.7957, allocations: 0 / 1.111 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7958, allocations: 321.5 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.44e-05/0.7959, allocations: 27.98 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.796, allocations: 42.58 kB / 1.112 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.7962, allocations: 32.72 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.7962, allocations: 0 / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002996/0.7965, allocations: 121.5 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.7966, allocations: 35.11 kB / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7966, allocations: 0 / 1.112 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7966, allocations: 3.984 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.785e-05/0.7966, allocations: 7.406 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.7966, allocations: 2.938 kB / 1.112 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.7968, allocations: 31.97 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.7969, allocations: 4 kB / 1.112 GB, free: 7.961 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.334e-05/0.7969, allocations: 121 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.797, allocations: 4 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.797, allocations: 8.328 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.797, allocations: 0 / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.797, allocations: 0 / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.797, allocations: 0 / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.7971, allocations: 142.2 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.7971, allocations: 0 / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-06/0.7972, allocations: 5.266 kB / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.7972, allocations: 0 / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.7972, allocations: 4 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7972, allocations: 0 / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7972, allocations: 3.984 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.7973, allocations: 81.03 kB / 1.112 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.7974, allocations: 77.11 kB / 1.112 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.7974, allocations: 3.953 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.7974, allocations: 0 / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.7974, allocations: 11.92 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.7974, allocations: 4 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.917e-05/0.7975, allocations: 89.97 kB / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7975, allocations: 0 / 1.113 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002016/0.7977, allocations: 20 kB / 1.113 GB, free: 7.312 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.7979, allocations: 109.1 kB / 1.113 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.7981, allocations: 111.4 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7981, allocations: 0 / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.501e-05/0.7981, allocations: 16.12 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/0.7983, allocations: 8 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.7985, allocations: 62.62 kB / 1.113 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.7987, allocations: 0.6775 MB / 1.113 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.225e-05/0.7987, allocations: 7.984 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.7988, allocations: 7.438 kB / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7988, allocations: 0 / 1.114 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of Templates: time 0.002753/0.8015, allocations: 0.9056 MB / 1.114 GB, free: 5.395 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)