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.001301/0.001301, allocations: 104 kB / 16.27 MB, free: 6.055 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.001429/0.001429, allocations: 187.9 kB / 17.19 MB, free: 5.688 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.536/1.536, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.802/1.802, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001621/0.001621, allocations: 63.91 kB / 0.6722 GB, free: 6.598 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2586, allocations: 114.6 MB / 0.784 GB, free: 3.926 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002296/0.2609, allocations: 0.6043 MB / 0.7846 GB, free: 3.316 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2626, allocations: 1.11 MB / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.35e-05/0.2627, allocations: 0 / 0.7857 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.2628, allocations: 3.938 kB / 0.7857 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.171e-05/0.2628, allocations: 3.938 kB / 0.7857 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005576/0.2634, allocations: 120.1 kB / 0.7858 GB, free: 2.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.2636, allocations: 95.88 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2637, allocations: 4 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.2638, allocations: 31.97 kB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.23e-05/0.2638, allocations: 27.91 kB / 0.786 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.2639, allocations: 12 kB / 0.786 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.535e-05/0.264, allocations: 27.97 kB / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.756e-05/0.264, allocations: 0 / 0.786 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.411e-05/0.2641, allocations: 27.92 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.2642, allocations: 83.78 kB / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.2643, allocations: 0 / 0.7861 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2643, allocations: 3.938 kB / 0.7861 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2643, allocations: 0 / 0.7861 GB, free: 1.762 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.0005273/0.2648, allocations: 377.4 kB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.2649, allocations: 12.03 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.446e-05/0.2649, allocations: 8.938 kB / 0.7865 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2651, allocations: 164.4 kB / 0.7867 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2651, allocations: 4.375 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.2651, allocations: 4.375 kB / 0.7867 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.965e-05/0.2652, allocations: 38.2 kB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2653, allocations: 192 / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.2653, allocations: 7.922 kB / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2653, allocations: 0 / 0.7867 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.2653, allocations: 4 kB / 0.7867 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.2657, allocations: 300.7 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.19e-05/0.2658, allocations: 22.52 kB / 0.787 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.856e-05/0.2658, allocations: 8.922 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.69e-06/0.2659, allocations: 0 / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.266, allocations: 59.39 kB / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 3.076e-06/0.2661, allocations: 4 kB / 0.7871 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0002094/0.2663, allocations: 69.59 kB / 0.7872 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.2663, allocations: 55.41 kB / 0.7872 GB, free: 464 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.2664, allocations: 105.8 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2665, allocations: 25.7 kB / 0.7873 GB, free: 316 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.2665, allocations: 92.05 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.2665, allocations: 3.984 kB / 0.7874 GB, free: 216 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.2666, allocations: 29.7 kB / 0.7875 GB, free: 180 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4127/0.6794, allocations: 314.8 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001388/0.6795, allocations: 28.56 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.911e-05/0.6796, allocations: 50.59 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.6798, allocations: 78.45 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6798, allocations: 5.625 kB / 0.7879 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002677/0.6801, allocations: 147.3 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/0.6801, allocations: 38.95 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6801, allocations: 2.125 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.6801, allocations: 3.328 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.437e-05/0.6802, allocations: 4.312 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.6802, allocations: 0 / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.6804, allocations: 28.8 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.6804, allocations: 9.203 kB / 0.7881 GB, free: 48.51 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 7.712e-05/0.6805, allocations: 113.8 kB / 0.7882 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.6806, allocations: 7.969 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.6806, allocations: 10.16 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.6806, allocations: 0 / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6806, allocations: 9 kB / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6806, allocations: 0 / 0.7883 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.41e-05/0.6807, allocations: 157.9 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.6807, allocations: 2.812 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.6807, allocations: 0 / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.6807, allocations: 1.25 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.6807, allocations: 3.719 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6807, allocations: 3.219 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.6808, allocations: 6.219 kB / 0.7884 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.378e-05/0.6808, allocations: 81.78 kB / 0.7885 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.6809, allocations: 77.11 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6809, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.546e-05/0.6809, allocations: 3.938 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.681, allocations: 10.33 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.681, allocations: 3.656 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.681, allocations: 86.09 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.681, allocations: 0 / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002398/0.6813, allocations: 20.66 kB / 0.7887 GB, free: 47.96 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.0001183/0.6814, allocations: 105.8 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001904/0.6816, allocations: 115.6 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6816, allocations: 0 / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.6816, allocations: 15.33 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.6818, allocations: 10.27 kB / 0.7889 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002507/0.6821, allocations: 140.4 kB / 0.7891 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.91e-05/0.6822, allocations: 0.6821 MB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.6822, allocations: 11.25 kB / 0.7898 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.6822, allocations: 2.969 kB / 0.7898 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.002396/0.6846, allocations: 0.8878 MB / 0.7906 GB, free: 46.97 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)