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.001053/0.001053, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001307/0.001307, allocations: 168.7 kB / 15.95 MB, free: 204 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.309 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.492/2.492, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003186, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8209/0.8213, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1995/1.021, allocations: 170.3 MB / 1.12 GB, free: 5.293 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01596/1.037, allocations: 12.13 MB / 1.132 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/1.038, allocations: 27.81 kB / 1.132 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/1.039, allocations: 302 kB / 1.132 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002716/1.042, allocations: 0.8747 MB / 1.133 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001696/1.044, allocations: 0.5293 MB / 1.134 GB, free: 7.402 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003935/1.048, allocations: 2.348 MB / 1.136 GB, free: 5.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/1.049, allocations: 0.5982 MB / 1.137 GB, free: 4.434 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/1.054, allocations: 1.365 MB / 1.138 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002217/1.057, allocations: 0.6148 MB / 1.139 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002707/1.057, allocations: 36 kB / 1.139 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002491/1.059, allocations: 459 kB / 1.139 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000639/1.06, allocations: 335 kB / 1.139 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004811/1.061, allocations: 201.2 kB / 1.14 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001874/1.062, allocations: 1.033 MB / 1.141 GB, free: 404 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/1.062, allocations: 0 / 1.141 GB, free: 404 kB / 0.8887 GB Notification: Performance of FrontEnd: time 4.388e-06/1.062, allocations: 3.938 kB / 1.141 GB, free: 400 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.49e-05/1.062, allocations: 0 / 1.141 GB, free: 400 kB / 0.8887 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.002477/1.065, allocations: 1.056 MB / 1.142 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.306e-05/1.065, allocations: 8.031 kB / 1.142 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/1.065, allocations: 126.5 kB / 1.142 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/1.067, allocations: 214.6 kB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/1.068, allocations: 0.6251 MB / 1.143 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/1.068, allocations: 61.94 kB / 1.143 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.068, allocations: 79.95 kB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/1.07, allocations: 0.921 MB / 1.144 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/1.07, allocations: 7.922 kB / 1.144 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.891e-05/1.07, allocations: 32 kB / 1.144 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/1.07, allocations: 29.31 kB / 1.144 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/1.071, allocations: 0.6138 MB / 1.144 GB, free: 12.44 MB / 0.9044 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.005099/1.076, allocations: 4.597 MB / 1.149 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008242/1.077, allocations: 0.5286 MB / 1.149 GB, free: 6.973 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/1.077, allocations: 251.1 kB / 1.149 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.077, allocations: 97.09 kB / 1.15 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.078, allocations: 46.33 kB / 1.15 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/1.078, allocations: 0 / 1.15 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002905/1.08, allocations: 1.582 MB / 1.151 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/1.081, allocations: 110.8 kB / 1.151 GB, free: 4.777 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000913/1.081, allocations: 0.7115 MB / 1.152 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/1.082, allocations: 37.7 kB / 1.152 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/1.082, allocations: 411.7 kB / 1.152 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/1.082, allocations: 169.8 kB / 1.153 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/1.082, allocations: 8 kB / 1.153 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002713/1.082, allocations: 330 kB / 1.153 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003051/1.083, allocations: 185.2 kB / 1.153 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/1.083, allocations: 413 kB / 1.153 GB, free: 2.422 MB / 0.9044 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.001609/1.085, allocations: 0.676 MB / 1.154 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.085, allocations: 0 / 1.154 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001424/1.086, allocations: 0.6803 MB / 1.155 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.086, allocations: 8.094 kB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/1.086, allocations: 8 kB / 1.155 GB, free: 1.027 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/1.086, allocations: 15.98 kB / 1.155 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/1.087, allocations: 123.9 kB / 1.155 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/1.087, allocations: 19.92 kB / 1.155 GB, free: 0.8711 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/1.087, allocations: 53.55 kB / 1.155 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/1.088, allocations: 28 kB / 1.155 GB, free: 0.793 MB / 0.9044 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.0004041/1.088, allocations: 273.6 kB / 1.155 GB, free: 0.5156 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001462/1.088, allocations: 82.97 kB / 1.155 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/1.088, allocations: 95.59 kB / 1.155 GB, free: 348 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.088, allocations: 4 kB / 1.155 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.088, allocations: 0 / 1.155 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008191/1.089, allocations: 0.708 MB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/1.092, allocations: 1.634 MB / 1.158 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.092, allocations: 4 kB / 1.158 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004247/1.092, allocations: 99.92 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/1.092, allocations: 4 kB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/1.092, allocations: 15.98 kB / 1.158 GB, free: 13.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/1.092, allocations: 11.94 kB / 1.158 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.092, allocations: 4 kB / 1.158 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/1.094, allocations: 0.8686 MB / 1.159 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/1.094, allocations: 204.1 kB / 1.159 GB, free: 12.51 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/1.094, allocations: 16 kB / 1.159 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/1.094, allocations: 35.91 kB / 1.159 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/1.094, allocations: 47.84 kB / 1.159 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/1.095, allocations: 20 kB / 1.159 GB, free: 12.39 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0007239/1.095, allocations: 0.5029 MB / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 0 / 1.16 GB, free: 11.89 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007587/1.096, allocations: 196 kB / 1.16 GB, free: 11.7 MB / 0.92 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.001863/1.098, allocations: 1.518 MB / 1.161 GB, free: 10.13 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000892/1.099, allocations: 469.5 kB / 1.162 GB, free: 9.672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.099, allocations: 0 / 1.162 GB, free: 9.672 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003055/1.099, allocations: 216.4 kB / 1.162 GB, free: 9.461 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.101, allocations: 458.6 kB / 1.162 GB, free: 9.023 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008/1.109, allocations: 5.002 MB / 1.167 GB, free: 3.773 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/1.11, allocations: 1.032 MB / 1.168 GB, free: 2.715 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008018/1.111, allocations: 203 kB / 1.168 GB, free: 2.512 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/1.111, allocations: 299.3 kB / 1.169 GB, free: 2.223 MB / 0.92 GB Notification: Performance of SimCode: time 7.41e-07/1.111, allocations: 0 / 1.169 GB, free: 2.223 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04336/1.154, allocations: 21.58 MB / 1.19 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.155, allocations: 266.7 kB / 1.19 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/3.468, allocations: 0 / 1.19 GB, free: 12.7 MB / 0.9512 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