Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001013/0.001013, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001312/0.001312, 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.5/1.5, allocations: 223.2 MB / 240 MB, free: 5.301 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.496/2.496, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005052, allocations: 8 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8095/0.81, allocations: 142.3 MB / 0.9538 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2053/1.015, allocations: 170.2 MB / 1.12 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01596/1.031, allocations: 12.09 MB / 1.132 GB, free: 9.352 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/1.033, allocations: 23.81 kB / 1.132 GB, free: 9.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/1.034, allocations: 274.2 kB / 1.132 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002196/1.036, allocations: 0.7153 MB / 1.133 GB, free: 8.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001798/1.038, allocations: 0.5582 MB / 1.133 GB, free: 7.785 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002186/1.04, allocations: 1.779 MB / 1.135 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007159/1.041, allocations: 0.4946 MB / 1.136 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/1.044, allocations: 1.276 MB / 1.137 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/1.045, allocations: 478 kB / 1.137 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/1.045, allocations: 24 kB / 1.137 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/1.046, allocations: 0.6003 MB / 1.138 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002529/1.047, allocations: 247.2 kB / 1.138 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/1.047, allocations: 161.3 kB / 1.138 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009453/1.048, allocations: 0.8262 MB / 1.139 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/1.048, allocations: 3.938 kB / 1.139 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.973e-06/1.048, allocations: 0 / 1.139 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.048, allocations: 0 / 1.139 GB, free: 1.879 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001259/1.049, allocations: 0.9154 MB / 1.14 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.049, allocations: 12.03 kB / 1.14 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/1.049, allocations: 98.52 kB / 1.14 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008611/1.05, allocations: 210.8 kB / 1.14 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/1.051, allocations: 0.4979 MB / 1.141 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/1.051, allocations: 105.3 kB / 1.141 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/1.051, allocations: 63.95 kB / 1.141 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/1.052, allocations: 0.7635 MB / 1.142 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.052, allocations: 11.92 kB / 1.142 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/1.053, allocations: 28 kB / 1.142 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/1.053, allocations: 21 kB / 1.142 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/1.053, allocations: 479.1 kB / 1.142 GB, free: 14.49 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.003548/1.057, allocations: 4.163 MB / 1.146 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/1.057, allocations: 106.3 kB / 1.146 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/1.057, allocations: 75.55 kB / 1.146 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/1.057, allocations: 97.09 kB / 1.147 GB, free: 9.766 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.057, allocations: 38.56 kB / 1.147 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 3.006e-06/1.057, allocations: 0 / 1.147 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006205/1.058, allocations: 236.8 kB / 1.147 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/1.058, allocations: 136.5 kB / 1.147 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.059, allocations: 0.8406 MB / 1.148 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/1.059, allocations: 25.7 kB / 1.148 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/1.06, allocations: 402.9 kB / 1.148 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/1.06, allocations: 31.55 kB / 1.148 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/1.06, allocations: 15.94 kB / 1.148 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.06, allocations: 321.9 kB / 1.149 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/1.06, allocations: 111.9 kB / 1.149 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/1.06, allocations: 346.5 kB / 1.149 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/1.061, allocations: 163.9 kB / 1.149 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/1.061, allocations: 4 kB / 1.149 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008305/1.062, allocations: 493.3 kB / 1.15 GB, free: 6.465 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.062, allocations: 8 kB / 1.15 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/1.062, allocations: 19.95 kB / 1.15 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.062, allocations: 15.98 kB / 1.15 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/1.062, allocations: 91.83 kB / 1.15 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.062, allocations: 11.94 kB / 1.15 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/1.063, allocations: 135.1 kB / 1.15 GB, free: 6.188 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/1.063, allocations: 24.12 kB / 1.15 GB, free: 6.164 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002603/1.063, allocations: 221.7 kB / 1.15 GB, free: 5.938 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/1.063, allocations: 79.11 kB / 1.15 GB, free: 5.859 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/1.063, allocations: 74.03 kB / 1.15 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.063, allocations: 4 kB / 1.15 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.063, allocations: 4 kB / 1.15 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/1.063, allocations: 0 / 1.15 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/1.065, allocations: 1.128 MB / 1.151 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.065, allocations: 4 kB / 1.151 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.834e-05/1.065, allocations: 19.98 kB / 1.151 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.065, allocations: 0 / 1.151 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/1.065, allocations: 8 kB / 1.151 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/1.065, allocations: 7.938 kB / 1.151 GB, free: 4.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/1.065, allocations: 4 kB / 1.151 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/1.065, allocations: 268.1 kB / 1.152 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/1.065, allocations: 164.2 kB / 1.152 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/1.065, allocations: 8 kB / 1.152 GB, free: 4.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/1.066, allocations: 19.98 kB / 1.152 GB, free: 4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/1.066, allocations: 19.88 kB / 1.152 GB, free: 3.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/1.066, allocations: 8 kB / 1.152 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0008082/1.066, allocations: 0.581 MB / 1.152 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.61e-07/1.066, allocations: 0 / 1.152 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006157/1.067, allocations: 155.8 kB / 1.153 GB, free: 3.242 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.001058/1.068, allocations: 0.8988 MB / 1.153 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005842/1.069, allocations: 241 kB / 1.154 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/1.069, allocations: 0 / 1.154 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/1.069, allocations: 48.8 kB / 1.154 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.071, allocations: 363.3 kB / 1.154 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/1.077, allocations: 3.863 MB / 1.158 GB, free: 13.63 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007188/1.078, allocations: 0.9372 MB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007471/1.078, allocations: 138.1 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003383/1.079, allocations: 227.4 kB / 1.159 GB, free: 12.31 MB / 0.92 GB Notification: Performance of SimCode: time 3.066e-06/1.079, allocations: 4 kB / 1.159 GB, free: 12.31 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03962/1.118, allocations: 17.29 MB / 1.176 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/1.119, allocations: 259 kB / 1.176 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.115/3.234, allocations: 0 / 1.176 GB, free: 11.08 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat does not exist to compare? outputFormat=mat