Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.866/1.866, allocations: 287.5 MB / 302.6 MB, free: 8.246 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.001124/0.001124, allocations: 169.8 kB / 371.2 MB, free: 10.84 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.687/1.687, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008366/0.0008366, allocations: 85.25 kB / 0.7432 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003941/0.0003941, allocations: 13.61 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2181, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.0008994/0.219, allocations: 422.8 kB / 0.9791 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008684/0.2199, allocations: 0.8556 MB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.22, allocations: 0 / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.22, allocations: 7.984 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.427e-05/0.2201, allocations: 11.88 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.2202, allocations: 11.98 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.329e-05/0.2203, allocations: 35.86 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.245e-05/0.2204, allocations: 8 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.84e-05/0.2204, allocations: 19.92 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.547e-05/0.2205, allocations: 19.91 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.2205, allocations: 4 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.2205, allocations: 0 / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.2206, allocations: 7.984 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2206, allocations: 29.7 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.972e-05/0.2207, allocations: 27.94 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2207, allocations: 0 / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2207, allocations: 0 / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2207, allocations: 7.938 kB / 0.9801 GB, free: 26.7 MB / 0.6198 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.0004598/0.2211, allocations: 363.7 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.2212, allocations: 8.031 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.2212, allocations: 8.844 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.928e-05/0.2213, allocations: 172.3 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.2214, allocations: 384 / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2214, allocations: 4.375 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.2216, allocations: 78.22 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2216, allocations: 192 / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.2216, allocations: 3.938 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2216, allocations: 0 / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.2219, allocations: 87.92 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.2222, allocations: 272.8 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2224, allocations: 74.47 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.2226, allocations: 48.92 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.2226, allocations: 3.984 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.2226, allocations: 30.56 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2226, allocations: 0 / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004991/0.2231, allocations: 173.5 kB / 0.9814 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.2232, allocations: 51.41 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.2232, allocations: 113.8 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2232, allocations: 25.7 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.638e-05/0.2233, allocations: 88.14 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.2233, allocations: 15.73 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2233, allocations: 0 / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.2233, allocations: 310.8 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.2235, allocations: 43.97 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.2236, allocations: 47.95 kB / 0.9821 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.2239, allocations: 92.72 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2239, allocations: 7.938 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002817/0.2242, allocations: 113.6 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.2242, allocations: 8 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2242, allocations: 0 / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2242, allocations: 0 / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2244, allocations: 23.98 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2244, allocations: 4 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.2244, allocations: 19.97 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.2245, allocations: 320 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.118e-05/0.2245, allocations: 117.8 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.2245, allocations: 3.906 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.437e-05/0.2246, allocations: 7.906 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2246, allocations: 8 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2246, allocations: 0 / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2246, allocations: 0 / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.2247, allocations: 177.5 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2247, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.046e-05/0.2248, allocations: 23.92 kB / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2248, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-06/0.2248, allocations: 0 / 0.9826 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2249, allocations: 4 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2249, allocations: 4 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.2252, allocations: 219.4 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.2252, allocations: 81.02 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2252, allocations: 4 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.2253, allocations: 15.98 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.2254, allocations: 3.984 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.2254, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.2254, allocations: 91.27 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.92e-07/0.2254, allocations: 0 / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000191/0.2256, allocations: 11.94 kB / 0.9831 GB, free: 23.38 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.953e-05/0.2257, allocations: 107.1 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003217/0.226, allocations: 88.3 kB / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2261, allocations: 0 / 0.9832 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.2262, allocations: 51.97 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2265, allocations: 13.94 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.2268, allocations: 132.7 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.2269, allocations: 0.6809 MB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.227, allocations: 7.938 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.227, allocations: 7.438 kB / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.227, allocations: 0 / 0.9841 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of Templates: time 0.002179/0.2292, allocations: 0.5542 MB / 0.9847 GB, free: 21.69 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1)