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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001314, allocations: 106 kB / 16.36 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 193.7 kB / 17.3 MB, free: 5.789 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.356/1.356, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.843/1.843, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 71.19 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.254, allocations: 114.5 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002069/0.2561, allocations: 0.6004 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2576, allocations: 1.113 MB / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.2577, allocations: 0 / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.2577, allocations: 0 / 0.7865 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.2578, allocations: 7.938 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.2583, allocations: 127.3 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.2585, allocations: 87.89 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2586, allocations: 11.98 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.2587, allocations: 31.98 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.2588, allocations: 35.88 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.2589, allocations: 8 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.259, allocations: 23.92 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.259, allocations: 7.938 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.236e-05/0.2591, allocations: 27.91 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.2592, allocations: 79.8 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2593, allocations: 0 / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2593, allocations: 4 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2593, allocations: 0 / 0.7869 GB, free: 0.9648 MB / 0.6544 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.0004561/0.2597, allocations: 381.1 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2598, allocations: 8.031 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.2598, allocations: 4.938 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.26, allocations: 172.4 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.26, allocations: 384 / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.26, allocations: 8.375 kB / 0.7874 GB, free: 316 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.029e-05/0.2601, allocations: 38.25 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2601, allocations: 8.125 kB / 0.7875 GB, free: 264 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.2601, allocations: 3.938 kB / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2602, allocations: 0 / 0.7875 GB, free: 260 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.2602, allocations: 7.938 kB / 0.7875 GB, free: 252 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3633/0.6235, allocations: 283.5 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.449e-05/0.6236, allocations: 21.8 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.6237, allocations: 9.766 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.689e-06/0.6237, allocations: 0.8438 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.6239, allocations: 62.61 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 3.366e-06/0.6239, allocations: 3.719 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002078/0.6241, allocations: 62.69 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.6242, allocations: 51.41 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.6243, allocations: 107.3 kB / 0.7881 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.6243, allocations: 31.86 kB / 0.7881 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.805e-05/0.6244, allocations: 86.02 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.6244, allocations: 6.031 kB / 0.7882 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.6244, allocations: 28.58 kB / 0.7882 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.6245, allocations: 319.2 kB / 0.7885 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.6246, allocations: 26.72 kB / 0.7885 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.784e-05/0.6247, allocations: 51.09 kB / 0.7886 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.6248, allocations: 87.47 kB / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6248, allocations: 0 / 0.7887 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002206/0.625, allocations: 140.8 kB / 0.7888 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.6251, allocations: 42.78 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.6251, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6251, allocations: 4.625 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.881e-05/0.6251, allocations: 2.969 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.6251, allocations: 0 / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.6253, allocations: 29.88 kB / 0.7889 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.6254, allocations: 8 kB / 0.7889 GB, free: 47.73 MB / 0.6544 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 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.42e-05/0.6254, allocations: 119.7 kB / 0.789 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.6255, allocations: 6.438 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.6255, allocations: 10.5 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.6255, allocations: 0 / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.6255, allocations: 0 / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.6255, allocations: 5.734 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.063e-05/0.6256, allocations: 161.9 kB / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6256, allocations: 0 / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.6256, allocations: 2.719 kB / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.6256, allocations: 3.938 kB / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.6256, allocations: 0 / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.6256, allocations: 3.422 kB / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6256, allocations: 1.219 kB / 0.7892 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.882e-05/0.6257, allocations: 80.78 kB / 0.7893 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.914e-05/0.6258, allocations: 88.2 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.6258, allocations: 3.125 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/0.6258, allocations: 3.234 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.6258, allocations: 3.125 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.6258, allocations: 3.406 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.6259, allocations: 84.55 kB / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6259, allocations: 0 / 0.7895 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002064/0.6261, allocations: 14.56 kB / 0.7895 GB, free: 47.18 MB / 0.6544 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 () * Number of clocked 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 (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.0001213/0.6262, allocations: 99.19 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001819/0.6264, allocations: 124.2 kB / 0.7897 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6264, allocations: 1.875 kB / 0.7897 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.6264, allocations: 16.69 kB / 0.7897 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/0.6267, allocations: 14.88 kB / 0.7897 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.6269, allocations: 118.1 kB / 0.7898 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.6271, allocations: 0.6773 MB / 0.7905 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.6271, allocations: 3.656 kB / 0.7905 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.6271, allocations: 10.06 kB / 0.7905 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.6271, allocations: 0 / 0.7905 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.003098/0.6302, allocations: 1.069 MB / 0.7915 GB, free: 46.21 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)