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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 289.7 MB / 302.2 MB, free: 2.109 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.00111/0.00111, allocations: 182.5 kB / 371.6 MB, free: 3.387 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.679/1.679, allocations: 205.1 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008533/0.0008533, allocations: 87.81 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.941e-05, allocations: 4 kB / 0.8664 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2908, allocations: 116.3 MB / 0.9799 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7971/1.088, allocations: 138.5 MB / 1.115 GB, free: 45.09 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.088, allocations: 66.69 kB / 1.115 GB, free: 45.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003702/1.092, allocations: 1.411 MB / 1.117 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/1.092, allocations: 0 / 1.117 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.027e-05/1.092, allocations: 4 kB / 1.117 GB, free: 44.16 MB / 0.7448 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.000492/1.092, allocations: 459 kB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/1.093, allocations: 8.031 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/1.093, allocations: 38.81 kB / 1.117 GB, free: 43.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/1.093, allocations: 13.53 kB / 1.117 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/1.093, allocations: 200.4 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/1.093, allocations: 7.266 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/1.093, allocations: 8.797 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/1.093, allocations: 121.9 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/1.093, allocations: 0.75 kB / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/1.093, allocations: 0 / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.093, allocations: 0 / 1.117 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/1.093, allocations: 108.8 kB / 1.118 GB, free: 43.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/1.094, allocations: 0.5122 MB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/1.094, allocations: 133.4 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.58e-05/1.094, allocations: 65.69 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/1.094, allocations: 0.8438 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.745e-05/1.094, allocations: 35.12 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.094, allocations: 0 / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002539/1.095, allocations: 138.2 kB / 1.118 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/1.095, allocations: 77.77 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/1.095, allocations: 150.1 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/1.095, allocations: 29.7 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/1.095, allocations: 106.8 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/1.095, allocations: 26.69 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/1.095, allocations: 0 / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/1.095, allocations: 321.6 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/1.095, allocations: 49.44 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.523e-05/1.095, allocations: 56.7 kB / 1.119 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/1.095, allocations: 48.17 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.095, allocations: 0 / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000166/1.095, allocations: 135.9 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.095, allocations: 4 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.095, allocations: 0 / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/1.095, allocations: 7.328 kB / 1.119 GB, free: 41.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.096, allocations: 46.53 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/1.096, allocations: 0 / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/1.096, allocations: 42.06 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/1.096, allocations: 2.953 kB / 1.119 GB, free: 41.54 MB / 0.7448 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 () * 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 4.786e-05/1.096, allocations: 114.1 kB / 1.12 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/1.096, allocations: 8.656 kB / 1.12 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/1.096, allocations: 19.89 kB / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/1.096, allocations: 0 / 1.12 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.096, allocations: 4 kB / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/1.096, allocations: 0 / 1.12 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/1.096, allocations: 232 kB / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.096, allocations: 0 / 1.12 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/1.096, allocations: 49.5 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.096, allocations: 3.938 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.096, allocations: 4.234 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/1.096, allocations: 4 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.096, allocations: 0.75 kB / 1.12 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/1.097, allocations: 319 kB / 1.12 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/1.097, allocations: 90.08 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/1.097, allocations: 3.375 kB / 1.12 GB, free: 40.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/1.097, allocations: 30.08 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/1.097, allocations: 10.84 kB / 1.12 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/1.097, allocations: 9.406 kB / 1.12 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.792e-05/1.097, allocations: 123.5 kB / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/1.097, allocations: 0 / 1.12 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002371/1.097, allocations: 26.98 kB / 1.12 GB, free: 40.57 MB / 0.7448 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 () * 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.0003849/1.098, allocations: 0.9133 MB / 1.121 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001699/1.098, allocations: 102.6 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.098, allocations: 0 / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.833e-05/1.098, allocations: 63.27 kB / 1.121 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.098, allocations: 19.48 kB / 1.121 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/1.099, allocations: 229 kB / 1.122 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/1.099, allocations: 0.7156 MB / 1.122 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.798e-05/1.099, allocations: 26.45 kB / 1.122 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/1.099, allocations: 30.22 kB / 1.122 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of SimCode: time 3.61e-07/1.099, allocations: 0 / 1.122 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.112, allocations: 2.273 MB / 1.125 GB, free: 37.36 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001336/1.112, allocations: 167.6 kB / 1.125 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.726, allocations: 0 / 1.125 GB, free: 37.13 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1)