Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.73/1.73, allocations: 288.2 MB / 303.2 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009869/0.0009869, allocations: 100.2 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005585/0.0005585, allocations: 13.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2445, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.0007547/0.2453, allocations: 475 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.246, allocations: 0.8244 MB / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.2461, allocations: 0 / 0.9808 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.2463, allocations: 51.84 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.2463, allocations: 35.94 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 5.767e-05/0.2464, allocations: 15.98 kB / 0.9808 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.944e-05/0.2465, allocations: 55.86 kB / 0.9809 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2466, allocations: 19.98 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.2467, allocations: 31.91 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.2468, allocations: 67.78 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.2468, allocations: 4 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.2468, allocations: 4 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.2469, allocations: 35.84 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.2469, allocations: 37.64 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.362e-05/0.247, allocations: 87.81 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.247, allocations: 4 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.247, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.247, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 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.0006222/0.2476, allocations: 472.5 kB / 0.9816 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2477, allocations: 12.02 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.2477, allocations: 38.56 kB / 0.9817 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.2478, allocations: 7.906 kB / 0.9817 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2479, allocations: 202.8 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2479, allocations: 4 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.248, allocations: 4 kB / 0.9819 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/0.2483, allocations: 167.3 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2483, allocations: 0 / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2484, allocations: 4 kB / 0.9821 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2484, allocations: 4 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.2489, allocations: 203.8 kB / 0.9823 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.2496, allocations: 0.5125 MB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.2499, allocations: 193.1 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.25, allocations: 3.938 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.208e-05/0.25, allocations: 34.56 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.25, allocations: 0 / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0008607/0.2508, allocations: 329.8 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.2509, allocations: 81.09 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.251, allocations: 175 kB / 0.9835 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.251, allocations: 25.7 kB / 0.9836 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.2511, allocations: 108 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.2511, allocations: 19.72 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.2511, allocations: 4 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.2512, allocations: 322.8 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.2514, allocations: 95.92 kB / 0.9841 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.2516, allocations: 109.6 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.2519, allocations: 103.9 kB / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2519, allocations: 0 / 0.9843 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005045/0.2524, allocations: 233.3 kB / 0.9845 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2524, allocations: 8 kB / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2524, allocations: 0 / 0.9845 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2525, allocations: 4 kB / 0.9845 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2527, allocations: 51.95 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2527, allocations: 0 / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.2528, allocations: 43.84 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2529, allocations: 7.938 kB / 0.9846 GB, free: 22.06 MB / 0.6198 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 7.482e-05/0.2529, allocations: 125.8 kB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.452e-05/0.253, allocations: 11.91 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.253, allocations: 16.25 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.253, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2531, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.2531, allocations: 7.938 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.2533, allocations: 229.4 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2533, allocations: 7.984 kB / 0.985 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.2535, allocations: 39.97 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2535, allocations: 0 / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2535, allocations: 4 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2535, allocations: 0 / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2535, allocations: 3.984 kB / 0.985 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.254, allocations: 420.2 kB / 0.9854 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.61e-05/0.2541, allocations: 92.95 kB / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2541, allocations: 0 / 0.9855 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.2543, allocations: 39.95 kB / 0.9856 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.2543, allocations: 11.98 kB / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2544, allocations: 0 / 0.9856 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.847e-05/0.2544, allocations: 123.2 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2544, allocations: 4 kB / 0.9857 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002506/0.2547, allocations: 15.91 kB / 0.9857 GB, free: 20.84 MB / 0.6198 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.0007644/0.2554, allocations: 1.028 MB / 0.9867 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.256, allocations: 199.8 kB / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.256, allocations: 0 / 0.9869 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.2562, allocations: 111.8 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2565, allocations: 12.7 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.258, allocations: 1.096 MB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.2582, allocations: 0.7119 MB / 0.9888 GB, free: 17.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.725e-05/0.2582, allocations: 27.97 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.2583, allocations: 33.55 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.2583, allocations: 4 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.2703, allocations: 2.273 MB / 0.9911 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.2706, allocations: 195.8 kB / 0.9913 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.817, allocations: 7.938 kB / 0.9913 GB, free: 15.16 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)