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.001247/0.001247, allocations: 102.8 kB / 16.27 MB, free: 5.973 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.001107/0.001107, allocations: 191.2 kB / 17.2 MB, free: 5.598 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.388/1.388, allocations: 205.1 MB / 223.1 MB, free: 12.29 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 1.823/1.823, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001388/0.001388, allocations: 78.75 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2581, allocations: 114.6 MB / 0.784 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002076/0.2602, allocations: 0.7686 MB / 0.7848 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009695/0.2612, allocations: 0.8282 MB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.2613, allocations: 0 / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.2615, allocations: 55.8 kB / 0.7857 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.2616, allocations: 39.81 kB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.283e-05/0.2617, allocations: 23.97 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2618, allocations: 87.7 kB / 0.7858 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2619, allocations: 19.98 kB / 0.7858 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.262, allocations: 39.89 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.2622, allocations: 87.78 kB / 0.7859 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.2622, allocations: 8 kB / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.596e-05/0.2622, allocations: 8 kB / 0.786 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.2623, allocations: 39.84 kB / 0.786 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.2624, allocations: 39.73 kB / 0.786 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.2625, allocations: 115.6 kB / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2625, allocations: 0 / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2625, allocations: 0 / 0.7861 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.2626, allocations: 0 / 0.7861 GB, free: 1.68 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.0007819/0.2633, allocations: 471.1 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2634, allocations: 12.03 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.2634, allocations: 12.75 kB / 0.7866 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2636, allocations: 208 kB / 0.7868 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.2636, allocations: 384 / 0.7868 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.2637, allocations: 12.31 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.2641, allocations: 147.9 kB / 0.787 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2641, allocations: 192 / 0.787 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2641, allocations: 11.94 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2641, allocations: 0 / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.2646, allocations: 167.8 kB / 0.7871 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007885/0.2654, allocations: 0.5008 MB / 0.7876 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4366/0.7021, allocations: 156.9 kB / 0.7878 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.7024, allocations: 100.3 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.7024, allocations: 0.5312 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.7025, allocations: 35.53 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.474e-06/0.7025, allocations: 0 / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.001022/0.7035, allocations: 285 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.7036, allocations: 82.33 kB / 0.7883 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.7037, allocations: 161.1 kB / 0.7884 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.7037, allocations: 28.42 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.7038, allocations: 106.1 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.7038, allocations: 30.19 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.7039, allocations: 19.27 kB / 0.7886 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/0.704, allocations: 330.2 kB / 0.7889 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.7042, allocations: 78.39 kB / 0.789 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.7044, allocations: 90.69 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005455/0.705, allocations: 174.5 kB / 0.7892 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.705, allocations: 2.406 kB / 0.7892 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005604/0.7056, allocations: 203.9 kB / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.7056, allocations: 7.562 kB / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.7056, allocations: 0 / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.7056, allocations: 3.094 kB / 0.7894 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.7059, allocations: 32.94 kB / 0.7895 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.7059, allocations: 2.625 kB / 0.7895 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.7061, allocations: 36 kB / 0.7895 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.7061, allocations: 2.031 kB / 0.7895 GB, free: 47.99 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 0.0001197/0.7062, allocations: 129.1 kB / 0.7896 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.7063, allocations: 9 kB / 0.7896 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.7063, allocations: 25.16 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.7063, allocations: 3.156 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.7063, allocations: 2.906 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7064, allocations: 1.125 kB / 0.7897 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.7066, allocations: 226 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7066, allocations: 3.328 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.7068, allocations: 34.17 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.7069, allocations: 1.281 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.7069, allocations: 3.031 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.7069, allocations: 3.703 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7069, allocations: 3.25 kB / 0.7899 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005839/0.7075, allocations: 382.4 kB / 0.7903 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.7075, allocations: 89.31 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.7076, allocations: 2.625 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.7077, allocations: 27.31 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.7078, allocations: 13.12 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.7078, allocations: 2.625 kB / 0.7904 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.825e-05/0.7079, allocations: 127.6 kB / 0.7905 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.443e-06/0.7079, allocations: 3.125 kB / 0.7906 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002672/0.7082, allocations: 21.5 kB / 0.7906 GB, free: 47.29 MB / 0.6544 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.0001462/0.7084, allocations: 105.2 kB / 0.7907 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005556/0.7089, allocations: 176.3 kB / 0.7908 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7089, allocations: 0 / 0.7908 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.7092, allocations: 90.55 kB / 0.7909 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.7096, allocations: 18.7 kB / 0.7909 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.7101, allocations: 281.8 kB / 0.7912 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.7103, allocations: 0.7073 MB / 0.7919 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.7104, allocations: 19.78 kB / 0.7919 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.7104, allocations: 0 / 0.7919 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.002904/0.7133, allocations: 1.494 MB / 0.7934 GB, free: 46.28 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)