Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.0009408/0.0009408, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004744, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8504/0.8509, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1904/1.041, allocations: 155.8 MB / 1.106 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01411/1.056, allocations: 10.92 MB / 1.116 GB, free: 9.062 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/1.057, allocations: 31.75 kB / 1.116 GB, free: 9.031 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/1.059, allocations: 441.9 kB / 1.117 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003518/1.063, allocations: 1.04 MB / 1.118 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002427/1.065, allocations: 0.8203 MB / 1.119 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001801/1.067, allocations: 1.168 MB / 1.12 GB, free: 5.574 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008451/1.068, allocations: 0.61 MB / 1.12 GB, free: 4.945 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002732/1.07, allocations: 1.215 MB / 1.122 GB, free: 3.727 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005646/1.071, allocations: 430.2 kB / 1.122 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 8.547e-05/1.071, allocations: 36 kB / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/1.072, allocations: 419.3 kB / 1.122 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003368/1.073, allocations: 311.2 kB / 1.123 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000211/1.073, allocations: 201.2 kB / 1.123 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/1.074, allocations: 0.9898 MB / 1.124 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/1.074, allocations: 0 / 1.124 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.138e-06/1.074, allocations: 0 / 1.124 GB, free: 1.359 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.074, allocations: 3.938 kB / 1.124 GB, free: 1.355 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001604/1.075, allocations: 1.048 MB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.076, allocations: 8.031 kB / 1.125 GB, free: 256 kB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001552/1.076, allocations: 122.5 kB / 1.125 GB, free: 124 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/1.077, allocations: 218.6 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/1.078, allocations: 0.6173 MB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.701e-05/1.078, allocations: 62 kB / 1.126 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.078, allocations: 83.94 kB / 1.126 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/1.079, allocations: 0.9132 MB / 1.127 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.079, allocations: 7.938 kB / 1.127 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.384e-05/1.079, allocations: 32 kB / 1.127 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/1.079, allocations: 29.31 kB / 1.127 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009045/1.08, allocations: 0.6177 MB / 1.128 GB, free: 13.42 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004556/1.085, allocations: 4.582 MB / 1.132 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/1.086, allocations: 0.5427 MB / 1.133 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.539e-05/1.086, allocations: 7.984 kB / 1.133 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.086, allocations: 47.25 kB / 1.133 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=43): time 3.527e-06/1.086, allocations: 0 / 1.133 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002802/1.089, allocations: 1.59 MB / 1.134 GB, free: 6.246 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/1.089, allocations: 114.8 kB / 1.134 GB, free: 6.109 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/1.09, allocations: 0.7115 MB / 1.135 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/1.09, allocations: 37.7 kB / 1.135 GB, free: 5.348 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/1.09, allocations: 411.7 kB / 1.135 GB, free: 4.938 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.09, allocations: 161.7 kB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/1.09, allocations: 12 kB / 1.136 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.09, allocations: 337.9 kB / 1.136 GB, free: 4.43 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002871/1.091, allocations: 181.2 kB / 1.136 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/1.091, allocations: 413 kB / 1.136 GB, free: 3.754 MB / 0.8887 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/1.093, allocations: 0.678 MB / 1.137 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.093, allocations: 0 / 1.137 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00094/1.094, allocations: 0.6718 MB / 1.138 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/1.094, allocations: 8 kB / 1.138 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.094, allocations: 4 kB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.094, allocations: 12 kB / 1.138 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/1.094, allocations: 123.8 kB / 1.138 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/1.094, allocations: 16.52 kB / 1.138 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/1.095, allocations: 51.91 kB / 1.138 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/1.095, allocations: 27.95 kB / 1.138 GB, free: 2.141 MB / 0.8887 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003446/1.095, allocations: 281.2 kB / 1.138 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.095, allocations: 82.97 kB / 1.138 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/1.095, allocations: 95.59 kB / 1.138 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.095, allocations: 4 kB / 1.138 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/1.095, allocations: 0 / 1.138 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006776/1.096, allocations: 0.7002 MB / 1.139 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/1.098, allocations: 1.642 MB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.098, allocations: 4 kB / 1.141 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004205/1.099, allocations: 95.89 kB / 1.141 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/1.099, allocations: 8 kB / 1.141 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/1.099, allocations: 16.48 kB / 1.141 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/1.099, allocations: 7.938 kB / 1.141 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.099, allocations: 8 kB / 1.141 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/1.1, allocations: 1.055 MB / 1.142 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/1.1, allocations: 208 kB / 1.142 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.623e-05/1.1, allocations: 15.98 kB / 1.142 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/1.101, allocations: 35.98 kB / 1.142 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/1.101, allocations: 39.91 kB / 1.142 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/1.101, allocations: 20 kB / 1.142 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005583/1.102, allocations: 0.5067 MB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.831e-06/1.102, allocations: 4 kB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006734/1.102, allocations: 203.9 kB / 1.143 GB, free: 12.75 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.002047/1.104, allocations: 2.801 MB / 1.146 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007272/1.105, allocations: 468.9 kB / 1.146 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.105, allocations: 0 / 1.146 GB, free: 9.375 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/1.105, allocations: 213.4 kB / 1.146 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/1.107, allocations: 446.3 kB / 1.147 GB, free: 8.742 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/1.115, allocations: 9.015 MB / 1.155 GB, free: 15.43 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006071/1.116, allocations: 1.048 MB / 1.156 GB, free: 14.36 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000717/1.117, allocations: 199 kB / 1.157 GB, free: 14.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/1.117, allocations: 303.3 kB / 1.157 GB, free: 13.87 MB / 0.92 GB Notification: Performance of SimCode: time 8.32e-07/1.117, allocations: 0 / 1.157 GB, free: 13.87 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/1.156, allocations: 21.55 MB / 1.178 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/1.157, allocations: 263.9 kB / 1.178 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/3.286, allocations: 0 / 1.178 GB, free: 8.395 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat