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.001163/0.001163, allocations: 104 kB / 15.99 MB, free: 6.348 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.001056/0.001056, allocations: 194.4 kB / 16.91 MB, free: 6.188 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.556/1.556, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.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.764/1.764, allocations: 292.3 MB / 0.5492 GB, free: 13.67 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.00137/0.00137, allocations: 62.92 kB / 0.6717 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2285, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002214/0.2308, allocations: 0.6632 MB / 0.7842 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.2324, allocations: 1.111 MB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.2324, allocations: 0 / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.534e-05/0.2325, allocations: 0 / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.2326, allocations: 3.938 kB / 0.7853 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.2331, allocations: 111.5 kB / 0.7854 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.2333, allocations: 91.83 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2334, allocations: 7.984 kB / 0.7855 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.2335, allocations: 35.97 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.998e-05/0.2336, allocations: 23.91 kB / 0.7855 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.2336, allocations: 8 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.432e-05/0.2337, allocations: 19.98 kB / 0.7856 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.2337, allocations: 8 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.15e-05/0.2338, allocations: 27.91 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2339, allocations: 55.89 kB / 0.7856 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2339, allocations: 8 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2339, allocations: 0 / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2339, allocations: 0 / 0.7856 GB, free: 11.7 MB / 0.6075 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.0005243/0.2345, allocations: 381.3 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2345, allocations: 8.031 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.2346, allocations: 4.938 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.2347, allocations: 168.3 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.2348, allocations: 8.375 kB / 0.7862 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.2348, allocations: 12.31 kB / 0.7862 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.2349, allocations: 38.19 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.2349, allocations: 192 / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.2349, allocations: 7.938 kB / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2349, allocations: 0 / 0.7862 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.235, allocations: 8 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.2354, allocations: 276.9 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.2354, allocations: 38.44 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.2354, allocations: 8.859 kB / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.2355, allocations: 0 / 0.7866 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.2356, allocations: 63.45 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2356, allocations: 0 / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001913/0.2358, allocations: 69.61 kB / 0.7867 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.2359, allocations: 55.41 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.236, allocations: 105.8 kB / 0.7868 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.236, allocations: 29.7 kB / 0.7869 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.901e-05/0.2361, allocations: 88.05 kB / 0.787 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-06/0.2361, allocations: 0 / 0.787 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.2361, allocations: 29.7 kB / 0.787 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2363, allocations: 322.8 kB / 0.7873 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.2363, allocations: 23.98 kB / 0.7873 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.2364, allocations: 54.56 kB / 0.7874 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.2365, allocations: 80.52 kB / 0.7874 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.2365, allocations: 3.938 kB / 0.7874 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002292/0.2368, allocations: 147.2 kB / 0.7876 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/0.2368, allocations: 37.69 kB / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.2368, allocations: 0 / 0.7876 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2368, allocations: 8.094 kB / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.2369, allocations: 0 / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2369, allocations: 0 / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.2371, allocations: 31.91 kB / 0.7877 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.2371, allocations: 11.98 kB / 0.7877 GB, free: 9.355 MB / 0.6075 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 8.011e-05/0.2372, allocations: 114.4 kB / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.2372, allocations: 0 / 0.7878 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.2373, allocations: 11.91 kB / 0.7878 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2373, allocations: 7.938 kB / 0.7878 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.2373, allocations: 3.938 kB / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2373, allocations: 0 / 0.7878 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2374, allocations: 165.5 kB / 0.788 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2374, allocations: 0 / 0.788 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.883e-06/0.2374, allocations: 4 kB / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2374, allocations: 0 / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2374, allocations: 0 / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2374, allocations: 0 / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2375, allocations: 0 / 0.788 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/0.2376, allocations: 92.95 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.2376, allocations: 77.11 kB / 0.7881 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2376, allocations: 0 / 0.7881 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.399e-05/0.2376, allocations: 0 / 0.7881 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.2377, allocations: 4 kB / 0.7881 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.2377, allocations: 0 / 0.7881 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.2377, allocations: 87.27 kB / 0.7882 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2377, allocations: 0 / 0.7882 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000206/0.2379, allocations: 20 kB / 0.7882 GB, free: 8.676 MB / 0.6075 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.0001387/0.2381, allocations: 107.2 kB / 0.7883 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.2383, allocations: 119.4 kB / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2383, allocations: 0 / 0.7885 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.2384, allocations: 15.94 kB / 0.7885 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.2386, allocations: 12.11 kB / 0.7885 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.2389, allocations: 164.2 kB / 0.7886 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.2391, allocations: 0.6768 MB / 0.7893 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.2391, allocations: 11.44 kB / 0.7893 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2391, allocations: 0 / 0.7893 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.002183/0.2413, allocations: 0.8948 MB / 0.7902 GB, free: 6.605 MB / 0.6075 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)