Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.659/1.659, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001721/0.001721, allocations: 186.1 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 90.31 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004816, allocations: 15.5 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2829, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001886/0.2848, allocations: 1.183 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004033/0.2853, allocations: 153.8 kB / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.2854, allocations: 0 / 0.9015 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.2856, allocations: 43.88 kB / 0.9015 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.109e-05/0.2857, allocations: 39.92 kB / 0.9016 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 8.466e-05/0.2858, allocations: 19.92 kB / 0.9016 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.2859, allocations: 51.92 kB / 0.9016 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.2861, allocations: 19.94 kB / 0.9016 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.929e-05/0.2862, allocations: 39.81 kB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.2864, allocations: 63.86 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2864, allocations: 4 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.944e-05/0.2865, allocations: 4 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.911e-05/0.2865, allocations: 27.91 kB / 0.9018 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.2866, allocations: 41.64 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2868, allocations: 79.81 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2868, allocations: 4 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2868, allocations: 4 kB / 0.9019 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.2868, allocations: 3.938 kB / 0.9019 GB, free: 62.02 MB / 0.6042 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.0009228/0.2877, allocations: 459.1 kB / 0.9023 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/0.2878, allocations: 8.031 kB / 0.9023 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.2879, allocations: 38.55 kB / 0.9024 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.359e-05/0.2879, allocations: 19.75 kB / 0.9024 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.2882, allocations: 198.8 kB / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.2882, allocations: 0 / 0.9026 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.2883, allocations: 8 kB / 0.9026 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.2888, allocations: 163.3 kB / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2888, allocations: 0 / 0.9028 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.2889, allocations: 8 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.2889, allocations: 0 / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007028/0.2896, allocations: 203.8 kB / 0.903 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009588/0.2906, allocations: 0.5165 MB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.2911, allocations: 181.1 kB / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.2911, allocations: 0 / 0.9036 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.2912, allocations: 38.56 kB / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2912, allocations: 0 / 0.9037 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.00122/0.2924, allocations: 337.3 kB / 0.904 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2924, allocations: 81.06 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2926, allocations: 177 kB / 0.9042 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2926, allocations: 29.64 kB / 0.9043 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/0.2927, allocations: 96.14 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.2927, allocations: 31.55 kB / 0.9044 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.2928, allocations: 0 / 0.9044 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.2928, allocations: 322.8 kB / 0.9047 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003404/0.2932, allocations: 95.92 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.2935, allocations: 109.6 kB / 0.9049 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.2939, allocations: 96.3 kB / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2939, allocations: 0 / 0.905 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007393/0.2947, allocations: 245.4 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2947, allocations: 8 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2947, allocations: 0 / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.2947, allocations: 4 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.295, allocations: 43.95 kB / 0.9053 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.295, allocations: 8.094 kB / 0.9053 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.2952, allocations: 39.88 kB / 0.9053 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.2953, allocations: 4 kB / 0.9053 GB, free: 58.27 MB / 0.6042 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.0001024/0.2954, allocations: 121.8 kB / 0.9054 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.2955, allocations: 11.91 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.081e-05/0.2955, allocations: 24.23 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.2955, allocations: 0 / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.2956, allocations: 7.875 kB / 0.9055 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2956, allocations: 3.953 kB / 0.9055 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003591/0.2959, allocations: 229.5 kB / 0.9057 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.296, allocations: 4 kB / 0.9057 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.2962, allocations: 39.95 kB / 0.9057 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.2962, allocations: 4 kB / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.2963, allocations: 0 / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2963, allocations: 0 / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2963, allocations: 0 / 0.9057 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000763/0.297, allocations: 432.1 kB / 0.9062 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.2971, allocations: 85.02 kB / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.2971, allocations: 0 / 0.9062 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.2974, allocations: 35.97 kB / 0.9063 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.2975, allocations: 11.94 kB / 0.9063 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.2975, allocations: 4 kB / 0.9063 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.453e-05/0.2976, allocations: 132 kB / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2976, allocations: 0 / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004215/0.2981, allocations: 20 kB / 0.9064 GB, free: 57.02 MB / 0.6042 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.001009/0.2991, allocations: 1.026 MB / 0.9074 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007253/0.2998, allocations: 195.8 kB / 0.9076 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2998, allocations: 0 / 0.9076 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.3002, allocations: 111.9 kB / 0.9077 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3006, allocations: 15.94 kB / 0.9077 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3028, allocations: 1.106 MB / 0.9088 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.303, allocations: 0.7139 MB / 0.9095 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.3031, allocations: 27.97 kB / 0.9096 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.329e-05/0.3032, allocations: 31.42 kB / 0.9096 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of SimCode: time 7.12e-07/0.3032, allocations: 4 kB / 0.9096 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01548/0.3187, allocations: 2.264 MB / 0.9118 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.319, allocations: 195.5 kB / 0.912 GB, free: 51.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.821, allocations: 0 / 0.912 GB, free: 51.36 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)