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.0007941/0.0007939, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009003/0.0009004, allocations: 172.7 kB / 15.95 MB, free: 208 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.389/1.389, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.665/1.665, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0007992/0.0007995, allocations: 24.11 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2423, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0009666/0.2433, allocations: 486.4 kB / 0.7878 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2444, allocations: 0.8205 MB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.74e-05/0.2445, allocations: 4 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001762/0.2447, allocations: 59.8 kB / 0.7886 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.687e-05/0.2447, allocations: 31.89 kB / 0.7887 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.011e-05/0.2448, allocations: 15.97 kB / 0.7887 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2449, allocations: 75.77 kB / 0.7888 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2451, allocations: 19.98 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.2452, allocations: 35.84 kB / 0.7888 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.2453, allocations: 67.84 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.2453, allocations: 7.938 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.2453, allocations: 4 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.2454, allocations: 27.95 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.2454, allocations: 41.64 kB / 0.789 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2456, allocations: 75.83 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.2456, allocations: 0 / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2456, allocations: 7.938 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.2456, allocations: 0 / 0.789 GB, free: 10.16 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.0007121/0.2463, allocations: 475 kB / 0.7895 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.2464, allocations: 12.03 kB / 0.7895 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.2464, allocations: 7.906 kB / 0.7895 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.2466, allocations: 202.8 kB / 0.7897 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.2466, allocations: 4 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2467, allocations: 4 kB / 0.7897 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003969/0.2471, allocations: 167.3 kB / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.2471, allocations: 0 / 0.7899 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2471, allocations: 3.938 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2471, allocations: 7.938 kB / 0.7899 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004977/0.2476, allocations: 203.8 kB / 0.7901 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.2484, allocations: 0.5164 MB / 0.7906 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.2488, allocations: 177.1 kB / 0.7907 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.2491, allocations: 117.7 kB / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.2491, allocations: 0 / 0.7909 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.2492, allocations: 42.5 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.2492, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008348/0.25, allocations: 337.2 kB / 0.7912 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.2501, allocations: 77.11 kB / 0.7913 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2502, allocations: 166.2 kB / 0.7914 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2503, allocations: 25.7 kB / 0.7915 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.2503, allocations: 104 kB / 0.7916 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.2504, allocations: 23.66 kB / 0.7916 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.812e-06/0.2504, allocations: 4 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.2505, allocations: 322.8 kB / 0.7919 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002469/0.2508, allocations: 95.92 kB / 0.792 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.251, allocations: 109.6 kB / 0.7921 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2513, allocations: 95.92 kB / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2513, allocations: 0 / 0.7922 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005128/0.2518, allocations: 241.3 kB / 0.7924 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2518, allocations: 4 kB / 0.7924 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2518, allocations: 4 kB / 0.7924 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2518, allocations: 0 / 0.7924 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.252, allocations: 43.95 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2521, allocations: 4 kB / 0.7925 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2522, allocations: 43.84 kB / 0.7925 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.2522, allocations: 0 / 0.7925 GB, free: 6.336 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.2523, allocations: 129.8 kB / 0.7926 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.2524, allocations: 15.91 kB / 0.7927 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.2524, allocations: 20.25 kB / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2525, allocations: 0 / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2525, allocations: 0 / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2525, allocations: 0 / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.2527, allocations: 237.4 kB / 0.7929 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2528, allocations: 0 / 0.7929 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.2529, allocations: 43.91 kB / 0.7929 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.2529, allocations: 4 kB / 0.793 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.253, allocations: 0 / 0.793 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.253, allocations: 3.984 kB / 0.793 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.253, allocations: 0 / 0.793 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.2535, allocations: 415 kB / 0.7934 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.2536, allocations: 89.02 kB / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.2536, allocations: 0 / 0.7934 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.2538, allocations: 35.95 kB / 0.7935 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.2539, allocations: 11.98 kB / 0.7935 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2539, allocations: 4 kB / 0.7935 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.923e-05/0.254, allocations: 121 kB / 0.7936 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.254, allocations: 0 / 0.7936 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000263/0.2542, allocations: 19.91 kB / 0.7936 GB, free: 5.113 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 (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.0001373/0.2544, allocations: 115.2 kB / 0.7937 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.2549, allocations: 203.8 kB / 0.7939 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2549, allocations: 0 / 0.7939 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.2552, allocations: 111.9 kB / 0.794 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.2555, allocations: 19.88 kB / 0.794 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.2561, allocations: 271.5 kB / 0.7943 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.2564, allocations: 0.716 MB / 0.795 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.885e-05/0.2565, allocations: 23.97 kB / 0.795 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.2566, allocations: 15.44 kB / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of SimCode: time 1.783e-06/0.2566, allocations: 0 / 0.795 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of Templates: time 0.003189/0.2598, allocations: 0.9395 MB / 0.796 GB, free: 2.648 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: