Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_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.0008207/0.0008205, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0009114/0.0009115, allocations: 172.7 kB / 15.95 MB, free: 208 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.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.568/2.568, allocations: 409.4 MB / 0.684 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8174/0.8178, allocations: 146.8 MB / 0.9811 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1916/1.009, allocations: 170.4 MB / 1.147 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01523/1.025, allocations: 12.14 MB / 1.159 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/1.026, allocations: 31.75 kB / 1.159 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001184/1.027, allocations: 290 kB / 1.16 GB, free: 14.93 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002752/1.03, allocations: 0.8786 MB / 1.161 GB, free: 14.05 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001784/1.032, allocations: 0.5318 MB / 1.161 GB, free: 13.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003056/1.035, allocations: 2.347 MB / 1.163 GB, free: 11.17 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009749/1.036, allocations: 0.606 MB / 1.164 GB, free: 10.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00351/1.039, allocations: 1.357 MB / 1.165 GB, free: 9.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/1.041, allocations: 0.6226 MB / 1.166 GB, free: 8.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.601e-05/1.041, allocations: 36 kB / 1.166 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/1.042, allocations: 451 kB / 1.166 GB, free: 8.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/1.043, allocations: 331 kB / 1.167 GB, free: 7.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/1.043, allocations: 205.2 kB / 1.167 GB, free: 7.551 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/1.044, allocations: 1.029 MB / 1.168 GB, free: 6.52 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.044, allocations: 4 kB / 1.168 GB, free: 6.516 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/1.044, allocations: 4 kB / 1.168 GB, free: 6.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.052e-05/1.044, allocations: 4 kB / 1.168 GB, free: 6.508 MB / 0.92 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.001687/1.046, allocations: 1.053 MB / 1.169 GB, free: 5.406 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.046, allocations: 12.03 kB / 1.169 GB, free: 5.395 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/1.046, allocations: 126.5 kB / 1.169 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.047, allocations: 214.6 kB / 1.169 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/1.048, allocations: 0.6174 MB / 1.17 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/1.048, allocations: 62 kB / 1.17 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/1.048, allocations: 79.94 kB / 1.17 GB, free: 4.254 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/1.05, allocations: 0.9287 MB / 1.171 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/1.05, allocations: 7.938 kB / 1.171 GB, free: 3.23 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/1.05, allocations: 32 kB / 1.171 GB, free: 3.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.249e-05/1.05, allocations: 29.31 kB / 1.171 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009732/1.051, allocations: 0.6099 MB / 1.172 GB, free: 2.559 MB / 0.92 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.004356/1.055, allocations: 4.589 MB / 1.176 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008153/1.056, allocations: 0.5621 MB / 1.177 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/1.056, allocations: 238.5 kB / 1.177 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/1.057, allocations: 105 kB / 1.177 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.057, allocations: 42.55 kB / 1.177 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/1.057, allocations: 4 kB / 1.177 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45): time 0.00282/1.06, allocations: 1.575 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/1.06, allocations: 123 kB / 1.179 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/1.06, allocations: 0.7077 MB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/1.06, allocations: 37.7 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/1.061, allocations: 411.8 kB / 1.18 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/1.061, allocations: 161.7 kB / 1.18 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/1.061, allocations: 12 kB / 1.18 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.061, allocations: 334 kB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/1.061, allocations: 181.2 kB / 1.18 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/1.062, allocations: 417 kB / 1.181 GB, free: 8.523 MB / 0.9356 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.001536/1.063, allocations: 0.6695 MB / 1.181 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.063, allocations: 4 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009765/1.064, allocations: 0.6675 MB / 1.182 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.064, allocations: 4 kB / 1.182 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/1.064, allocations: 11.98 kB / 1.182 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/1.065, allocations: 15.95 kB / 1.182 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/1.065, allocations: 119.8 kB / 1.182 GB, free: 7.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/1.065, allocations: 15.94 kB / 1.182 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005947/1.066, allocations: 56.88 kB / 1.182 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/1.066, allocations: 32 kB / 1.182 GB, free: 6.906 MB / 0.9356 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.0004139/1.066, allocations: 273.6 kB / 1.183 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.066, allocations: 83.06 kB / 1.183 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/1.066, allocations: 87.66 kB / 1.183 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.066, allocations: 11.95 kB / 1.183 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.066, allocations: 0 / 1.183 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007671/1.067, allocations: 0.6949 MB / 1.183 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/1.07, allocations: 1.638 MB / 1.185 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.07, allocations: 4 kB / 1.185 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/1.07, allocations: 99.89 kB / 1.185 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/1.07, allocations: 4 kB / 1.185 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/1.071, allocations: 16 kB / 1.185 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.948e-05/1.071, allocations: 16.39 kB / 1.185 GB, free: 3.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.071, allocations: 4 kB / 1.185 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/1.072, allocations: 0.861 MB / 1.186 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/1.072, allocations: 204.1 kB / 1.186 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/1.072, allocations: 16.09 kB / 1.186 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005143/1.073, allocations: 39.91 kB / 1.186 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/1.073, allocations: 43.84 kB / 1.186 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/1.073, allocations: 23.98 kB / 1.186 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006965/1.074, allocations: 0.5029 MB / 1.187 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.074, allocations: 0 / 1.187 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00087/1.074, allocations: 204 kB / 1.187 GB, free: 1.816 MB / 0.9356 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.001832/1.076, allocations: 1.506 MB / 1.188 GB, free: 252 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009078/1.077, allocations: 465.5 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/1.077, allocations: 4 kB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/1.078, allocations: 208.1 kB / 1.189 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.08, allocations: 474.5 kB / 1.19 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/1.088, allocations: 5.007 MB / 1.194 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/1.089, allocations: 1.032 MB / 1.195 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008729/1.09, allocations: 199 kB / 1.196 GB, free: 8.621 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/1.09, allocations: 295.3 kB / 1.196 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of SimCode: time 1.232e-06/1.09, allocations: 0 / 1.196 GB, free: 8.332 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/1.134, allocations: 21.59 MB / 1.217 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.135, allocations: 264.3 kB / 1.217 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.468, allocations: 0 / 1.217 GB, free: 2.828 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat does not exist to compare? outputFormat=mat