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.00137/0.00137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.631/1.631, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.939/1.939, allocations: 292.3 MB / 0.5488 GB, free: 12.81 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.001697/0.001697, allocations: 68.75 kB / 0.6715 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3138, allocations: 114.6 MB / 0.7834 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002543/0.3164, allocations: 0.7568 MB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.3179, allocations: 0.8242 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.318, allocations: 3.938 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.3183, allocations: 63.8 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.788e-05/0.3184, allocations: 35.83 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 8.816e-05/0.3185, allocations: 19.97 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3187, allocations: 91.75 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.3189, allocations: 15.98 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.247e-05/0.319, allocations: 43.84 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.3192, allocations: 87.77 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.3192, allocations: 8 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/0.3192, allocations: 8 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.3193, allocations: 35.91 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.3194, allocations: 43.67 kB / 0.7854 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.3196, allocations: 115.6 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.393e-06/0.3196, allocations: 4 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3196, allocations: 0 / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3196, allocations: 0 / 0.7855 GB, free: 11.26 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009205/0.3205, allocations: 467.1 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.3206, allocations: 12.03 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.3206, allocations: 8.844 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3209, allocations: 214.9 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3209, allocations: 4.375 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3209, allocations: 4.375 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3213, allocations: 155.8 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3214, allocations: 192 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3214, allocations: 7.938 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.3214, allocations: 4 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.322, allocations: 163.8 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008781/0.3229, allocations: 0.5047 MB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.3233, allocations: 161.1 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002677/0.3235, allocations: 97.73 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3236, allocations: 4 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3236, allocations: 34.55 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.3236, allocations: 0 / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008947/0.3245, allocations: 281.3 kB / 0.7875 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.3246, allocations: 81.11 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3247, allocations: 158.2 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3248, allocations: 25.7 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3248, allocations: 112 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.3249, allocations: 23.7 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.377e-05/0.3249, allocations: 25.72 kB / 0.7879 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3251, allocations: 322.8 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.3253, allocations: 75.92 kB / 0.7883 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.3256, allocations: 101.6 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/0.3261, allocations: 173.5 kB / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3261, allocations: 0 / 0.7886 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005522/0.3267, allocations: 217.7 kB / 0.7888 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3267, allocations: 7.938 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3267, allocations: 0 / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3268, allocations: 4 kB / 0.7888 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.327, allocations: 31.95 kB / 0.7888 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.327, allocations: 8 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.3271, allocations: 27.91 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.3272, allocations: 4 kB / 0.7889 GB, free: 7.539 MB / 0.6075 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 0.0001018/0.3273, allocations: 125.8 kB / 0.789 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.3273, allocations: 11.91 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.3274, allocations: 24.23 kB / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3274, allocations: 0 / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3274, allocations: 0 / 0.789 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3274, allocations: 4 kB / 0.789 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.3277, allocations: 233.4 kB / 0.7892 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3277, allocations: 3.938 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.3279, allocations: 35.95 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3279, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.3279, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3279, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.3279, allocations: 4 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006381/0.3286, allocations: 378.5 kB / 0.7896 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.526e-05/0.3287, allocations: 85.02 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3287, allocations: 0 / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.3289, allocations: 43.89 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.329, allocations: 4 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.329, allocations: 0 / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001056/0.3291, allocations: 129.4 kB / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3291, allocations: 0 / 0.7899 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002716/0.3294, allocations: 23.91 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.000161/0.3295, allocations: 103.2 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006054/0.3301, allocations: 179.7 kB / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3302, allocations: 0 / 0.7902 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.3304, allocations: 95.84 kB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3308, allocations: 11.94 kB / 0.7903 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006191/0.3314, allocations: 271 kB / 0.7906 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3318, allocations: 0.7146 MB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.786e-05/0.3319, allocations: 27.95 kB / 0.7913 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.332, allocations: 15.44 kB / 0.7913 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.332, allocations: 0 / 0.7913 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of Templates: time 0.004183/0.3362, allocations: 1.185 MB / 0.7925 GB, free: 3.715 MB / 0.6075 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)