Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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.Continuous.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008722/0.0008722, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0008981/0.0008981, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.616/1.616, allocations: 292.6 MB / 0.5497 GB, free: 14.63 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.0005295/0.0005295, allocations: 14.31 kB / 0.6736 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2471, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.000903/0.2481, allocations: 429 kB / 0.7875 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.249, allocations: 0.8611 MB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.2491, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.2491, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.131e-05/0.2492, allocations: 7.922 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.2494, allocations: 15.98 kB / 0.7884 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.642e-05/0.2494, allocations: 23.97 kB / 0.7884 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.367e-05/0.2495, allocations: 11.98 kB / 0.7884 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.096e-05/0.2496, allocations: 11.94 kB / 0.7884 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.2497, allocations: 23.91 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2497, allocations: 0 / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.2497, allocations: 4 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2497, allocations: 3.984 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.2498, allocations: 33.64 kB / 0.7885 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.947e-05/0.2498, allocations: 27.88 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2498, allocations: 0 / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2499, allocations: 4 kB / 0.7885 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2499, allocations: 0 / 0.7885 GB, free: 10.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005181/0.2504, allocations: 371.5 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2504, allocations: 8.031 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.2505, allocations: 11.91 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2506, allocations: 171 kB / 0.7891 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2506, allocations: 8 kB / 0.7891 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.2506, allocations: 4 kB / 0.7891 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2509, allocations: 77.66 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2509, allocations: 4 kB / 0.7892 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2509, allocations: 7.922 kB / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2509, allocations: 0 / 0.7892 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.2513, allocations: 87.88 kB / 0.7893 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.2516, allocations: 260.9 kB / 0.7895 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.2519, allocations: 70.53 kB / 0.7896 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2519, allocations: 0 / 0.7896 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.2519, allocations: 34.56 kB / 0.7896 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2519, allocations: 0 / 0.7896 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005558/0.2525, allocations: 169.5 kB / 0.7898 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.2526, allocations: 51.41 kB / 0.7898 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.2526, allocations: 113.8 kB / 0.7899 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2527, allocations: 25.7 kB / 0.79 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.2527, allocations: 84.14 kB / 0.79 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2528, allocations: 11.89 kB / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.2528, allocations: 0 / 0.79 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2529, allocations: 322.8 kB / 0.7904 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.253, allocations: 43.97 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.2532, allocations: 47.95 kB / 0.7904 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2533, allocations: 35.97 kB / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2534, allocations: 0 / 0.7905 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.2537, allocations: 125.5 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2537, allocations: 8 kB / 0.7906 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.2537, allocations: 4 kB / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.2537, allocations: 0 / 0.7906 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.2539, allocations: 23.97 kB / 0.7906 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2539, allocations: 4 kB / 0.7906 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.622e-05/0.254, allocations: 15.98 kB / 0.7906 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.254, allocations: 4 kB / 0.7906 GB, free: 8.105 MB / 0.6075 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 8.167e-05/0.2541, allocations: 109.8 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2541, allocations: 7.938 kB / 0.7908 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.2541, allocations: 7.906 kB / 0.7908 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2541, allocations: 4.312 kB / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2541, allocations: 0 / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2542, allocations: 4 kB / 0.7908 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.2543, allocations: 173.5 kB / 0.7909 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2543, allocations: 7.984 kB / 0.791 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.2544, allocations: 23.92 kB / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2544, allocations: 0 / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2545, allocations: 4 kB / 0.791 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.2545, allocations: 7.922 kB / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2545, allocations: 0 / 0.791 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.2548, allocations: 215.4 kB / 0.7912 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2549, allocations: 81.11 kB / 0.7913 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.2549, allocations: 0 / 0.7913 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.255, allocations: 19.97 kB / 0.7913 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.2551, allocations: 8 kB / 0.7913 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2551, allocations: 0 / 0.7913 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.2551, allocations: 91.27 kB / 0.7914 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2552, allocations: 0 / 0.7914 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002056/0.2554, allocations: 8 kB / 0.7914 GB, free: 7.25 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: 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 0.000136/0.2555, allocations: 99.25 kB / 0.7915 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000358/0.2559, allocations: 91.86 kB / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2559, allocations: 0 / 0.7916 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.256, allocations: 55.95 kB / 0.7916 GB, free: 7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2563, allocations: 7.953 kB / 0.7916 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.2566, allocations: 125.8 kB / 0.7918 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.2569, allocations: 0.6887 MB / 0.7924 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.2569, allocations: 4 kB / 0.7924 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.257, allocations: 7.438 kB / 0.7924 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.257, allocations: 0 / 0.7924 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of Templates: time 0.002668/0.2597, allocations: 0.564 MB / 0.793 GB, free: 5.562 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) Environment - environmentSimulation: