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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 179.4 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 223.2 MB / 0.7948 GB, free: 17.99 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009507/0.0009508, allocations: 100.3 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.000477, allocations: 13.81 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3085, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/4.84, allocations: 1.931 GB / 3.154 GB, free: 56.39 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003379/4.841, allocations: 94.2 kB / 3.154 GB, free: 56.34 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.748/7.589, allocations: 0.6008 GB / 3.754 GB, free: 307.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.814e-06/7.589, allocations: 0 / 3.754 GB, free: 307.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001246/7.589, allocations: 26.34 kB / 3.754 GB, free: 307.8 MB / 1.167 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.00382/7.593, allocations: 1.247 MB / 3.756 GB, free: 307.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/7.593, allocations: 14.8 kB / 3.756 GB, free: 307.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004158/7.594, allocations: 122 kB / 3.756 GB, free: 307.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/7.595, allocations: 208.6 kB / 3.756 GB, free: 307.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/7.597, allocations: 0.6783 MB / 3.757 GB, free: 306.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-05/7.597, allocations: 57.53 kB / 3.757 GB, free: 306.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/7.597, allocations: 77.06 kB / 3.757 GB, free: 306.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/7.599, allocations: 0.9071 MB / 3.758 GB, free: 306.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/7.599, allocations: 5.125 kB / 3.758 GB, free: 306.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/7.599, allocations: 37.94 kB / 3.758 GB, free: 306.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/7.599, allocations: 27.72 kB / 3.758 GB, free: 306.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001084/7.6, allocations: 0.5942 MB / 3.758 GB, free: 306.5 MB / 1.167 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.00496/7.605, allocations: 4.572 MB / 3.763 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006878/7.606, allocations: 447.7 kB / 3.763 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/7.606, allocations: 97.75 kB / 3.763 GB, free: 303.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/7.606, allocations: 44.45 kB / 3.763 GB, free: 303.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/7.606, allocations: 2.688 kB / 3.763 GB, free: 303.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.003245/7.609, allocations: 1.56 MB / 3.765 GB, free: 302.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/7.61, allocations: 114.4 kB / 3.765 GB, free: 302.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/7.61, allocations: 0.6207 MB / 3.766 GB, free: 302.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/7.61, allocations: 40.67 kB / 3.766 GB, free: 302.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/7.611, allocations: 416.6 kB / 3.766 GB, free: 302.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/7.611, allocations: 164.4 kB / 3.766 GB, free: 302.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/7.611, allocations: 10.75 kB / 3.766 GB, free: 302.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/7.611, allocations: 336.3 kB / 3.766 GB, free: 301.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/7.611, allocations: 184 kB / 3.767 GB, free: 301.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/7.612, allocations: 407.6 kB / 3.767 GB, free: 301.5 MB / 1.167 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.001577/7.613, allocations: 0.6712 MB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/7.613, allocations: 2.438 kB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009897/7.614, allocations: 0.6619 MB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/7.614, allocations: 11.38 kB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/7.614, allocations: 7.625 kB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/7.614, allocations: 16.78 kB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/7.615, allocations: 126.7 kB / 3.768 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/7.615, allocations: 10.94 kB / 3.769 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007724/7.616, allocations: 55.22 kB / 3.769 GB, free: 301.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/7.616, allocations: 29.59 kB / 3.769 GB, free: 301.4 MB / 1.167 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.0004646/7.616, allocations: 277.7 kB / 3.769 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/7.616, allocations: 87.25 kB / 3.769 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/7.617, allocations: 91.77 kB / 3.769 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/7.617, allocations: 6.812 kB / 3.769 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/7.617, allocations: 0 / 3.769 GB, free: 301.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006707/7.617, allocations: 0.6841 MB / 3.77 GB, free: 300.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/7.62, allocations: 1.601 MB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/7.62, allocations: 15.67 kB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/7.62, allocations: 96.62 kB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/7.62, allocations: 6.25 kB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.979e-05/7.62, allocations: 18.47 kB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/7.62, allocations: 11.05 kB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/7.62, allocations: 7.875 kB / 3.771 GB, free: 300.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/7.621, allocations: 1.028 MB / 3.772 GB, free: 299.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/7.622, allocations: 203.9 kB / 3.773 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/7.622, allocations: 11.16 kB / 3.773 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005852/7.623, allocations: 44.39 kB / 3.773 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/7.623, allocations: 39.66 kB / 3.773 GB, free: 299.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.621e-05/7.623, allocations: 21.16 kB / 3.773 GB, free: 299.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000647/7.623, allocations: 0.5088 MB / 3.773 GB, free: 299.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.222e-06/7.623, allocations: 0 / 3.773 GB, free: 299.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001543/7.625, allocations: 369 kB / 3.774 GB, free: 299.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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.00411/7.629, allocations: 4.175 MB / 3.778 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008582/7.63, allocations: 465.3 kB / 3.778 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/7.63, allocations: 0 / 3.778 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/7.63, allocations: 203 kB / 3.778 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/7.633, allocations: 451.6 kB / 3.779 GB, free: 296.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009489/7.642, allocations: 9.007 MB / 3.788 GB, free: 291 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/7.643, allocations: 1.048 MB / 3.789 GB, free: 290.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009244/7.644, allocations: 194.2 kB / 3.789 GB, free: 290.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/7.644, allocations: 299.7 kB / 3.789 GB, free: 290.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.072e-06/7.644, allocations: 3.406 kB / 3.789 GB, free: 290.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09447/7.739, allocations: 47.01 MB / 3.835 GB, free: 279.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/7.739, allocations: 249.8 kB / 3.835 GB, free: 278.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/11.29, allocations: 0 / 3.835 GB, free: 278.7 MB / 1.167 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