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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000981/0.000981, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.448/1.448, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.655/1.655, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001393/0.001393, allocations: 76.53 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.222, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002097/0.2241, allocations: 0.7762 MB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.2251, allocations: 0.8243 MB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.562e-05/0.2251, allocations: 4 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.2253, allocations: 51.81 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.2254, allocations: 35.81 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.776e-05/0.2255, allocations: 23.97 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2256, allocations: 87.7 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.2258, allocations: 27.97 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.2258, allocations: 35.91 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.226, allocations: 83.78 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.226, allocations: 8 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.226, allocations: 8 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.2261, allocations: 35.89 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.477e-05/0.2262, allocations: 47.67 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2263, allocations: 115.9 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2263, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2263, allocations: 4 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.379e-05/0.2264, allocations: 0 / 0.7856 GB, free: 11.2 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.0007655/0.2272, allocations: 458.8 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.2272, allocations: 12.03 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.2272, allocations: 42.62 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.2273, allocations: 16.84 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.2275, allocations: 199.4 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.2275, allocations: 8.375 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.2275, allocations: 4.375 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.2279, allocations: 147.9 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2279, allocations: 7.875 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.228, allocations: 4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.228, allocations: 4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000511/0.2285, allocations: 167.8 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000814/0.2293, allocations: 0.5007 MB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.2298, allocations: 169.1 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.23, allocations: 97.67 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.2301, allocations: 0 / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.2301, allocations: 34.5 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2301, allocations: 8 kB / 0.7874 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0009232/0.231, allocations: 281.3 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.2311, allocations: 77.11 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2312, allocations: 166.2 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2312, allocations: 25.7 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/0.2313, allocations: 108 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2313, allocations: 19.72 kB / 0.7881 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.2314, allocations: 25.7 kB / 0.7881 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2315, allocations: 322.8 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/0.2318, allocations: 83.86 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.232, allocations: 93.62 kB / 0.7886 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.2325, allocations: 177.5 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2325, allocations: 4 kB / 0.7887 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005267/0.233, allocations: 197.4 kB / 0.7889 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2331, allocations: 8 kB / 0.7889 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2331, allocations: 4 kB / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.2331, allocations: 0 / 0.7889 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.2333, allocations: 43.89 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2333, allocations: 0 / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.2335, allocations: 27.89 kB / 0.789 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.2335, allocations: 4 kB / 0.789 GB, free: 7.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.483e-05/0.2336, allocations: 137.8 kB / 0.7891 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.2336, allocations: 11.81 kB / 0.7891 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.2337, allocations: 16.72 kB / 0.7892 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2337, allocations: 4 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2337, allocations: 0 / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2337, allocations: 3.984 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.234, allocations: 221.5 kB / 0.7894 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.234, allocations: 3.984 kB / 0.7894 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.2342, allocations: 31.97 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2342, allocations: 0 / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.2342, allocations: 15.98 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2342, allocations: 3.938 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2342, allocations: 0 / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006281/0.2349, allocations: 378.5 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.2349, allocations: 84.92 kB / 0.7899 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.2349, allocations: 8 kB / 0.7899 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2351, allocations: 23.95 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.138e-05/0.2352, allocations: 11.98 kB / 0.7899 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2352, allocations: 7.938 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.806e-05/0.2353, allocations: 117 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2354, allocations: 4 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002792/0.2356, allocations: 23.94 kB / 0.7901 GB, free: 6.258 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 (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.0009882/0.2366, allocations: 0.9136 MB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005789/0.2372, allocations: 171.8 kB / 0.7911 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.2372, allocations: 7.938 kB / 0.7911 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002769/0.2375, allocations: 91.84 kB / 0.7912 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.2379, allocations: 16.31 kB / 0.7912 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.2407, allocations: 1.971 MB / 0.7932 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.2409, allocations: 0.7119 MB / 0.7938 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.936e-05/0.241, allocations: 27.97 kB / 0.7939 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.334e-05/0.2411, allocations: 35.42 kB / 0.7939 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.2411, allocations: 0 / 0.7939 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01762/0.2587, allocations: 2.648 MB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.296, allocations: 9.312 kB / 0.7965 GB, free: 15.61 MB / 0.6231 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/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)