Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 109.3 kB / 16.38 MB, free: 6.484 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.001695/0.001695, allocations: 190.7 kB / 17.32 MB, free: 5.82 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.598/1.598, allocations: 205.1 MB / 223.2 MB, free: 12.27 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 2.005/2.005, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001608/0.001609, allocations: 64.33 kB / 0.6729 GB, free: 5.816 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2547, allocations: 114.6 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002138/0.2569, allocations: 0.7762 MB / 0.7856 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00102/0.2579, allocations: 0.8243 MB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.258, allocations: 0 / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.2582, allocations: 59.8 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.793e-05/0.2583, allocations: 35.83 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.117e-05/0.2583, allocations: 19.97 kB / 0.7865 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.2585, allocations: 91.75 kB / 0.7866 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.2587, allocations: 15.98 kB / 0.7866 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.2588, allocations: 43.89 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.2589, allocations: 91.66 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.259, allocations: 8 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.771e-05/0.259, allocations: 8 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.2591, allocations: 39.89 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.848e-05/0.2591, allocations: 43.67 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2593, allocations: 119.6 kB / 0.7869 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2593, allocations: 4 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2593, allocations: 0 / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2593, allocations: 0 / 0.7869 GB, free: 0.9531 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008377/0.2602, allocations: 462.9 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2602, allocations: 8.031 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.2603, allocations: 12.75 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.2605, allocations: 200.1 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2605, allocations: 8.312 kB / 0.7876 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.2605, allocations: 8.375 kB / 0.7876 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004244/0.2609, allocations: 151.8 kB / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.261, allocations: 192 / 0.7877 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.261, allocations: 7.938 kB / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.261, allocations: 0 / 0.7878 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5044/0.7654, allocations: 165.8 kB / 0.7879 GB, free: 49.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007606/0.7662, allocations: 0.5031 MB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.7666, allocations: 163.9 kB / 0.7886 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.7668, allocations: 93.86 kB / 0.7886 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7668, allocations: 3.281 kB / 0.7887 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.7669, allocations: 33.19 kB / 0.7887 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.794e-06/0.7669, allocations: 0 / 0.7887 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008467/0.7677, allocations: 282.2 kB / 0.789 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.566e-05/0.7678, allocations: 84.91 kB / 0.789 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.7679, allocations: 157.9 kB / 0.7892 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.7679, allocations: 31.48 kB / 0.7892 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.768, allocations: 111 kB / 0.7893 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.7681, allocations: 26.7 kB / 0.7893 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.052e-05/0.7682, allocations: 17.84 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.7683, allocations: 329 kB / 0.7897 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.7686, allocations: 73.84 kB / 0.7897 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.7689, allocations: 94.7 kB / 0.7898 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005193/0.7694, allocations: 169.6 kB / 0.79 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.7694, allocations: 1.875 kB / 0.79 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005964/0.77, allocations: 212.2 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.77, allocations: 7.312 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.7701, allocations: 0 / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.7701, allocations: 3.812 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.7703, allocations: 31.09 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.7703, allocations: 2.688 kB / 0.7902 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.7705, allocations: 32.5 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.7705, allocations: 3.562 kB / 0.7903 GB, free: 47.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 9.462e-05/0.7706, allocations: 132.9 kB / 0.7904 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.7707, allocations: 12.72 kB / 0.7904 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.7707, allocations: 22.77 kB / 0.7904 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.7707, allocations: 0.8125 kB / 0.7904 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7707, allocations: 3.969 kB / 0.7904 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.7708, allocations: 83.77 kB / 0.7905 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.7708, allocations: 3.406 kB / 0.7905 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.771, allocations: 30.05 kB / 0.7906 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.7711, allocations: 14.83 kB / 0.7906 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006553/0.7717, allocations: 381.7 kB / 0.7909 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005581/0.7723, allocations: 453.8 kB / 0.7914 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002504/0.7726, allocations: 90.08 kB / 0.7915 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.187e-05/0.7726, allocations: 130.9 kB / 0.7916 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of Backend: time 6.82e-07/0.7726, allocations: 2.156 kB / 0.7916 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007093/0.7734, allocations: 166.1 kB / 0.7917 GB, free: 47 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0005912/0.774, allocations: 0.6739 MB / 0.7924 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.005074/0.779, allocations: 1.617 MB / 0.794 GB, free: 46.36 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)