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.0009418/0.0009465, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001283/0.001283, allocations: 177.3 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.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003412, allocations: 15.98 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8081/0.8084, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1819/0.9904, allocations: 155.8 MB / 1.133 GB, free: 10.15 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01474/1.005, allocations: 10.92 MB / 1.144 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/1.007, allocations: 27.81 kB / 1.144 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/1.008, allocations: 437.9 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003897/1.012, allocations: 1.04 MB / 1.145 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002807/1.015, allocations: 0.8273 MB / 1.146 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002465/1.018, allocations: 1.165 MB / 1.147 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/1.019, allocations: 0.6178 MB / 1.148 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00344/1.022, allocations: 1.215 MB / 1.149 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/1.023, allocations: 430.2 kB / 1.149 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.000204/1.024, allocations: 32 kB / 1.149 GB, free: 9.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/1.025, allocations: 415.3 kB / 1.15 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004849/1.026, allocations: 311.1 kB / 1.15 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004906/1.026, allocations: 205.3 kB / 1.15 GB, free: 8.492 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001641/1.028, allocations: 0.9936 MB / 1.151 GB, free: 7.496 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.028, allocations: 4 kB / 1.151 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.836e-06/1.028, allocations: 0 / 1.151 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.025e-05/1.028, allocations: 0 / 1.151 GB, free: 7.492 MB / 0.9044 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.002311/1.03, allocations: 1.044 MB / 1.152 GB, free: 6.398 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.03, allocations: 12.03 kB / 1.152 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/1.031, allocations: 126.5 kB / 1.152 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.032, allocations: 206.7 kB / 1.152 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/1.033, allocations: 0.629 MB / 1.153 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/1.034, allocations: 58 kB / 1.153 GB, free: 5.324 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/1.034, allocations: 76 kB / 1.153 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.035, allocations: 0.9248 MB / 1.154 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/1.035, allocations: 3.938 kB / 1.154 GB, free: 4.234 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/1.035, allocations: 28 kB / 1.154 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/1.035, allocations: 37.3 kB / 1.154 GB, free: 4.172 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/1.036, allocations: 0.6021 MB / 1.155 GB, free: 3.566 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.005041/1.042, allocations: 4.601 MB / 1.159 GB, free: 14.67 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/1.042, allocations: 0.5469 MB / 1.16 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.744e-05/1.042, allocations: 15.92 kB / 1.16 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/1.043, allocations: 42.55 kB / 1.16 GB, free: 14.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 3.096e-06/1.043, allocations: 0 / 1.16 GB, free: 14.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.003125/1.046, allocations: 1.583 MB / 1.161 GB, free: 12.38 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/1.046, allocations: 110.8 kB / 1.162 GB, free: 12.24 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009399/1.047, allocations: 0.7077 MB / 1.162 GB, free: 11.53 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.686e-05/1.047, allocations: 33.7 kB / 1.162 GB, free: 11.49 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/1.047, allocations: 416.1 kB / 1.163 GB, free: 11.07 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/1.047, allocations: 169.6 kB / 1.163 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/1.047, allocations: 8 kB / 1.163 GB, free: 10.9 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.047, allocations: 330 kB / 1.163 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/1.048, allocations: 185.2 kB / 1.163 GB, free: 10.39 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/1.048, allocations: 409 kB / 1.164 GB, free: 9.895 MB / 0.92 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.001578/1.05, allocations: 0.6702 MB / 1.164 GB, free: 9.207 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/1.05, allocations: 4 kB / 1.164 GB, free: 9.203 MB / 0.92 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001024/1.051, allocations: 0.6645 MB / 1.165 GB, free: 8.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.051, allocations: 12 kB / 1.165 GB, free: 8.52 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.051, allocations: 11.94 kB / 1.165 GB, free: 8.508 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.051, allocations: 11.95 kB / 1.165 GB, free: 8.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/1.051, allocations: 131.8 kB / 1.165 GB, free: 8.367 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.051, allocations: 11.98 kB / 1.165 GB, free: 8.355 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/1.052, allocations: 55.81 kB / 1.165 GB, free: 8.301 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/1.052, allocations: 28 kB / 1.165 GB, free: 8.273 MB / 0.92 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.0003867/1.052, allocations: 270.7 kB / 1.166 GB, free: 8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/1.053, allocations: 87.06 kB / 1.166 GB, free: 7.914 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/1.053, allocations: 87.66 kB / 1.166 GB, free: 7.824 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.053, allocations: 4 kB / 1.166 GB, free: 7.82 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/1.053, allocations: 11.95 kB / 1.166 GB, free: 7.809 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006893/1.054, allocations: 0.6911 MB / 1.166 GB, free: 7.031 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/1.056, allocations: 1.646 MB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/1.056, allocations: 4 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/1.057, allocations: 103.8 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.561e-05/1.057, allocations: 8 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.057, allocations: 15.98 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.057, allocations: 4 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.057, allocations: 11.94 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/1.058, allocations: 1.06 MB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/1.058, allocations: 208.1 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/1.058, allocations: 11.98 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004961/1.059, allocations: 35.98 kB / 1.169 GB, free: 3.645 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.117e-05/1.059, allocations: 39.84 kB / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/1.059, allocations: 20 kB / 1.169 GB, free: 3.586 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006326/1.06, allocations: 0.5029 MB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.06, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007701/1.06, allocations: 200 kB / 1.17 GB, free: 2.891 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.002237/1.063, allocations: 2.801 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007704/1.063, allocations: 457.2 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.063, allocations: 0 / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002801/1.064, allocations: 212.5 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.066, allocations: 456.1 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/1.074, allocations: 9.027 MB / 1.183 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/1.075, allocations: 1.048 MB / 1.184 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000759/1.075, allocations: 195 kB / 1.184 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/1.076, allocations: 299.3 kB / 1.184 GB, free: 4 MB / 0.9356 GB Notification: Performance of SimCode: time 1.623e-06/1.076, allocations: 0 / 1.184 GB, free: 4 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.253/2.329, allocations: 21.56 MB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/2.329, allocations: 263.6 kB / 1.206 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/4.909, allocations: 4.062 kB / 1.206 GB, free: 14.51 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