Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.104/2.104, allocations: 251 MB / 265.9 MB, free: 11.69 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.001473/0.001473, allocations: 182.7 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.423/2.423, allocations: 205.4 MB / 0.5764 GB, free: 21.21 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.001202/0.001201, allocations: 96.64 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000731/0.0007312, allocations: 15.81 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.2826, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.5897, allocations: 131 MB / 1.027 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/0.5901, allocations: 67.95 kB / 1.027 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01105/0.6012, allocations: 2.368 MB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.514e-06/0.6012, allocations: 0 / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.294e-05/0.6013, allocations: 4 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000848/0.6021, allocations: 478.8 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.6022, allocations: 12.03 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001244/0.6024, allocations: 58.55 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.6025, allocations: 23.72 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.6031, allocations: 274.5 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.6031, allocations: 16.44 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.461e-05/0.6032, allocations: 20 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.6042, allocations: 350 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.6043, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.6043, allocations: 8 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.6044, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007731/0.6051, allocations: 243.7 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.608, allocations: 1.491 MB / 1.032 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.6081, allocations: 170.2 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.6082, allocations: 75.28 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.843e-05/0.6083, allocations: 105.8 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 4.9e-06/0.6083, allocations: 3.984 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 0.0001763/0.6085, allocations: 65.3 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.6086, allocations: 130.7 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.6097, allocations: 467.5 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.6097, allocations: 29.64 kB / 1.033 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.61, allocations: 167.8 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-06/0.61, allocations: 0 / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.61, allocations: 4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.6102, allocations: 342.8 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.6104, allocations: 51.95 kB / 1.034 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.6106, allocations: 103 kB / 1.034 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.6109, allocations: 65.3 kB / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6109, allocations: 0 / 1.034 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006325/0.6116, allocations: 189.2 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.6116, allocations: 4 kB / 1.034 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6116, allocations: 4 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.6117, allocations: 256 / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.6119, allocations: 27.92 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.6119, allocations: 7.953 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/0.6122, allocations: 39.58 kB / 1.034 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.6122, allocations: 4 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0003197/0.6126, allocations: 253 kB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6128, allocations: 124.7 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.6129, allocations: 134.8 kB / 1.035 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001012/0.613, allocations: 192.2 kB / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-05/0.6131, allocations: 176.3 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.511e-05/0.6132, allocations: 180.2 kB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.6139, allocations: 0.4893 MB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.147e-05/0.6139, allocations: 105 kB / 1.036 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.614, allocations: 108.9 kB / 1.036 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.6141, allocations: 176.3 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/0.6143, allocations: 184.2 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001058/0.6144, allocations: 184.3 kB / 1.036 GB, free: 4.621 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-05/0.6145, allocations: 180.3 kB / 1.036 GB, free: 4.438 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.6148, allocations: 327.4 kB / 1.037 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003386/0.6151, allocations: 233.7 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.6153, allocations: 180.3 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.6156, allocations: 105.9 kB / 1.037 GB, free: 3.547 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.6157, allocations: 180.2 kB / 1.037 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.6158, allocations: 109 kB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009029/0.6167, allocations: 363 kB / 1.038 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/0.6167, allocations: 0 / 1.038 GB, free: 2.898 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006424/0.6174, allocations: 24 kB / 1.038 GB, free: 2.875 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0007093/0.6181, allocations: 0.8357 MB / 1.039 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.6184, allocations: 79.77 kB / 1.039 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.557e-06/0.6184, allocations: 4 kB / 1.039 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.6185, allocations: 0 / 1.039 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.6193, allocations: 0.5438 MB / 1.039 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00505/0.6244, allocations: 2.726 MB / 1.042 GB, free: 14.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.625, allocations: 0.783 MB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002302/0.6253, allocations: 49.52 kB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.6255, allocations: 59.42 kB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/0.6255, allocations: 0 / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02974/0.6553, allocations: 4.167 MB / 1.047 GB, free: 9.637 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003295/0.6557, allocations: 186.7 kB / 1.047 GB, free: 9.398 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.185, allocations: 3.938 kB / 1.047 GB, free: 9.395 MB / 0.698 GB