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.00149/0.00149, allocations: 101.4 kB / 15.7 MB, free: 28 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.001691/0.001691, allocations: 191.3 kB / 16.64 MB, free: 6.445 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.443/1.443, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.725/1.725, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001417/0.001418, allocations: 79 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2271, allocations: 114.6 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.001925/0.2291, allocations: 0.7682 MB / 0.7844 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008307/0.2299, allocations: 0.8243 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.23, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001747/0.2301, allocations: 59.78 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.25e-05/0.2302, allocations: 27.84 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.941e-05/0.2303, allocations: 23.97 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2304, allocations: 91.73 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2306, allocations: 23.98 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.2306, allocations: 39.84 kB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.2308, allocations: 91.7 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.2308, allocations: 8 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.2308, allocations: 8 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.592e-05/0.2309, allocations: 35.91 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.229e-05/0.2309, allocations: 43.73 kB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.2311, allocations: 127.8 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2311, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2311, allocations: 0 / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.2311, allocations: 0 / 0.7858 GB, free: 11.05 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.0007449/0.2319, allocations: 466.8 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2319, allocations: 8.031 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.232, allocations: 38.75 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.232, allocations: 8.844 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2322, allocations: 210.9 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.2322, allocations: 4.375 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2322, allocations: 4.375 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.2326, allocations: 155.8 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2326, allocations: 3.938 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.2326, allocations: 4 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.2327, allocations: 3.984 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005117/0.2332, allocations: 179.8 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.234, allocations: 0.4891 MB / 0.7873 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.2344, allocations: 165.1 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.2346, allocations: 93.73 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.2346, allocations: 3.984 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.2347, allocations: 38.56 kB / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2347, allocations: 0 / 0.7876 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0008427/0.2355, allocations: 277.3 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.2356, allocations: 81.11 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.2357, allocations: 166.2 kB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2358, allocations: 29.7 kB / 0.7881 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.2358, allocations: 108 kB / 0.7882 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2359, allocations: 19.7 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.65e-05/0.2359, allocations: 21.72 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.236, allocations: 326.8 kB / 0.7886 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.2363, allocations: 79.92 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2365, allocations: 93.62 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004603/0.237, allocations: 169.6 kB / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.237, allocations: 0 / 0.7889 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005537/0.2375, allocations: 213.3 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.2376, allocations: 4 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2376, allocations: 0 / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.2376, allocations: 0 / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.2378, allocations: 35.95 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2378, allocations: 0 / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.238, allocations: 35.89 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.238, allocations: 480 / 0.7892 GB, free: 7.309 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 0.0001092/0.2381, allocations: 147.8 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.2382, allocations: 11.81 kB / 0.7893 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.652e-05/0.2382, allocations: 16.25 kB / 0.7893 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.2382, allocations: 7.938 kB / 0.7893 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.2382, allocations: 3.984 kB / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2382, allocations: 0 / 0.7893 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.2385, allocations: 225.5 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2385, allocations: 4 kB / 0.7896 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001748/0.2387, allocations: 35.95 kB / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2387, allocations: 0 / 0.7896 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.2387, allocations: 8 kB / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2387, allocations: 0 / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2387, allocations: 0 / 0.7896 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005799/0.2393, allocations: 382.5 kB / 0.79 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.2394, allocations: 88.92 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.2394, allocations: 0 / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.2396, allocations: 27.95 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.2397, allocations: 7.984 kB / 0.7901 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.2397, allocations: 12 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.892e-05/0.2398, allocations: 119.2 kB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2398, allocations: 0 / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002828/0.2401, allocations: 23.94 kB / 0.7902 GB, free: 6.113 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.0009125/0.241, allocations: 0.9146 MB / 0.7911 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.2416, allocations: 175.8 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2416, allocations: 0 / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.2418, allocations: 83.92 kB / 0.7914 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.2422, allocations: 18.64 kB / 0.7914 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.2447, allocations: 1.975 MB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.245, allocations: 0.7109 MB / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.328e-05/0.2451, allocations: 27.97 kB / 0.794 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.2452, allocations: 35.42 kB / 0.7941 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2452, allocations: 4 kB / 0.7941 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.2622, allocations: 2.664 MB / 0.7967 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/7.887, allocations: 6.641 kB / 0.7967 GB, free: 15.46 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)