Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 105.4 kB / 15.7 MB, free: 24 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.0018/0.0018, allocations: 197.2 kB / 16.64 MB, free: 6.453 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.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.59 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.774/1.774, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001579/0.001579, allocations: 79.67 kB / 0.6718 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2661, allocations: 114.5 MB / 0.7837 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002658/0.2688, allocations: 0.7519 MB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.2691, allocations: 59.77 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.2692, allocations: 4 kB / 0.7844 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2694, allocations: 19.8 kB / 0.7845 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.755e-05/0.2694, allocations: 15.91 kB / 0.7845 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.2696, allocations: 27.97 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.2698, allocations: 115.7 kB / 0.7846 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002643/0.2701, allocations: 154.9 kB / 0.7848 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.2702, allocations: 75.73 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.2703, allocations: 67.7 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.2703, allocations: 12 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.569e-05/0.2704, allocations: 12 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.348e-05/0.2704, allocations: 59.78 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.2705, allocations: 83.42 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.2708, allocations: 235.1 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2708, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2708, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.2708, allocations: 0 / 0.7853 GB, free: 11.56 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.000572/0.2714, allocations: 0.4992 MB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.2714, allocations: 12.03 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.2715, allocations: 62.66 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.2716, allocations: 24.66 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.2718, allocations: 248 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.2719, allocations: 16.73 kB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2719, allocations: 16.38 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.2724, allocations: 348.6 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.2724, allocations: 3.984 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.2724, allocations: 12 kB / 0.7865 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-05/0.2725, allocations: 11.98 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.2728, allocations: 263.8 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.2741, allocations: 1.1 MB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.2742, allocations: 169.1 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.2742, allocations: 84.12 kB / 0.7881 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.2742, allocations: 75.28 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.2743, allocations: 114 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2743, allocations: 4 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.457e-05/0.2744, allocations: 49.36 kB / 0.7883 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.2745, allocations: 130.7 kB / 0.7884 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.275, allocations: 0.4965 MB / 0.7889 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.275, allocations: 25.7 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.2752, allocations: 171.7 kB / 0.7891 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-06/0.2752, allocations: 4 kB / 0.7891 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.2752, allocations: 29.7 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.2754, allocations: 346.8 kB / 0.7895 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.2754, allocations: 51.95 kB / 0.7895 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2755, allocations: 98.83 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.2757, allocations: 118.7 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2757, allocations: 0 / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002881/0.276, allocations: 197.1 kB / 0.7899 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.276, allocations: 7.938 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.276, allocations: 4 kB / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.276, allocations: 0 / 0.7899 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2762, allocations: 19.98 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2762, allocations: 4 kB / 0.7899 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2763, allocations: 35.58 kB / 0.79 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.2763, allocations: 12.25 kB / 0.79 GB, free: 6.438 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.2765, allocations: 253 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.2766, allocations: 128.6 kB / 0.7903 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.2767, allocations: 134.8 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.955e-05/0.2767, allocations: 180.2 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-05/0.2768, allocations: 180.3 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.122e-05/0.2769, allocations: 188.2 kB / 0.791 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.2773, allocations: 493.1 kB / 0.7915 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-05/0.2773, allocations: 106 kB / 0.7916 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.2774, allocations: 105 kB / 0.7917 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.889e-05/0.2775, allocations: 180.2 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.309e-05/0.2775, allocations: 188.2 kB / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.148e-05/0.2776, allocations: 180.3 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-05/0.2777, allocations: 184.2 kB / 0.7924 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.2779, allocations: 319.5 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.278, allocations: 222 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.2781, allocations: 184.2 kB / 0.7931 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.2783, allocations: 117 kB / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.2784, allocations: 176.3 kB / 0.7933 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.134e-05/0.2784, allocations: 104.9 kB / 0.7934 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003678/0.2788, allocations: 367 kB / 0.7938 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2788, allocations: 0 / 0.7938 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002777/0.2791, allocations: 24 kB / 0.7938 GB, free: 2.293 MB / 0.6075 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 (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.0005094/0.2796, allocations: 0.8319 MB / 0.7946 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.2797, allocations: 76.25 kB / 0.7947 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2798, allocations: 4.125 kB / 0.7947 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.2798, allocations: 3.938 kB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.2804, allocations: 481.1 kB / 0.7952 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.2836, allocations: 3.299 MB / 0.7984 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2839, allocations: 0.7788 MB / 0.7991 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.726e-05/0.284, allocations: 49.52 kB / 0.7992 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.255e-05/0.2841, allocations: 63.42 kB / 0.7993 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of SimCode: time 2.01e-07/0.2841, allocations: 0 / 0.7993 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.3043, allocations: 4.549 MB / 0.8037 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.739/8.043, allocations: 5.75 kB / 0.8037 GB, free: 8.098 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1)