Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_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.001113/0.001113, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001171/0.001171, allocations: 176.7 kB / 15.95 MB, free: 192 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.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.544/2.544, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.000512, allocations: 12 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8295, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1878/1.017, allocations: 170.2 MB / 1.147 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01489/1.032, allocations: 12.09 MB / 1.159 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/1.034, allocations: 23.88 kB / 1.159 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/1.035, allocations: 282.1 kB / 1.159 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/1.037, allocations: 0.7192 MB / 1.16 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00186/1.039, allocations: 0.5552 MB / 1.161 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00255/1.041, allocations: 1.777 MB / 1.162 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008413/1.042, allocations: 0.491 MB / 1.163 GB, free: 11.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/1.046, allocations: 1.28 MB / 1.164 GB, free: 10.3 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009213/1.047, allocations: 478 kB / 1.165 GB, free: 9.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.949e-05/1.047, allocations: 28 kB / 1.165 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/1.048, allocations: 0.5964 MB / 1.165 GB, free: 9.207 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002794/1.048, allocations: 243.2 kB / 1.165 GB, free: 8.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/1.049, allocations: 165.3 kB / 1.166 GB, free: 8.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/1.05, allocations: 0.8223 MB / 1.166 GB, free: 7.977 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.05, allocations: 0 / 1.166 GB, free: 7.977 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/1.05, allocations: 0 / 1.166 GB, free: 7.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.05, allocations: 0 / 1.166 GB, free: 7.977 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001292/1.051, allocations: 0.9231 MB / 1.167 GB, free: 7 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/1.051, allocations: 8.031 kB / 1.167 GB, free: 6.992 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/1.051, allocations: 98.52 kB / 1.167 GB, free: 6.887 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/1.052, allocations: 210.8 kB / 1.168 GB, free: 6.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007806/1.053, allocations: 0.5094 MB / 1.168 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/1.053, allocations: 109.2 kB / 1.168 GB, free: 6.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/1.053, allocations: 56 kB / 1.168 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/1.055, allocations: 0.7597 MB / 1.169 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/1.055, allocations: 7.938 kB / 1.169 GB, free: 5.098 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/1.055, allocations: 35.97 kB / 1.169 GB, free: 5.062 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/1.055, allocations: 24.98 kB / 1.169 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008758/1.056, allocations: 471.3 kB / 1.17 GB, free: 4.578 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.003904/1.059, allocations: 4.163 MB / 1.174 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/1.06, allocations: 106.4 kB / 1.174 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.06, allocations: 71.5 kB / 1.174 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001699/1.06, allocations: 97.08 kB / 1.174 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/1.06, allocations: 46.5 kB / 1.174 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.924e-06/1.06, allocations: 0 / 1.174 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006523/1.061, allocations: 236.6 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/1.061, allocations: 144.4 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/1.062, allocations: 0.8292 MB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/1.062, allocations: 29.64 kB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/1.062, allocations: 402.9 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.062, allocations: 39.53 kB / 1.176 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/1.062, allocations: 12 kB / 1.176 GB, free: 14.08 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.062, allocations: 321.9 kB / 1.176 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/1.063, allocations: 115.9 kB / 1.176 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004073/1.063, allocations: 345.8 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/1.063, allocations: 167.8 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/1.063, allocations: 0 / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008799/1.064, allocations: 496.3 kB / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/1.064, allocations: 8 kB / 1.177 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.064, allocations: 4 kB / 1.177 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/1.064, allocations: 12 kB / 1.177 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/1.065, allocations: 96.45 kB / 1.177 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.97e-05/1.065, allocations: 15.92 kB / 1.177 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/1.065, allocations: 131.1 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/1.065, allocations: 24.12 kB / 1.177 GB, free: 12.26 MB / 0.9356 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.0003013/1.066, allocations: 237.5 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/1.066, allocations: 75.06 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/1.066, allocations: 70.09 kB / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.066, allocations: 4 kB / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.066, allocations: 0 / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.066, allocations: 0 / 1.178 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/1.067, allocations: 1.12 MB / 1.179 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/1.067, allocations: 8.312 kB / 1.179 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/1.068, allocations: 23.92 kB / 1.179 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/1.068, allocations: 4 kB / 1.179 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/1.068, allocations: 4 kB / 1.179 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/1.068, allocations: 7.953 kB / 1.179 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.068, allocations: 4 kB / 1.179 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/1.068, allocations: 259.8 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/1.068, allocations: 168.2 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.384e-05/1.068, allocations: 12 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/1.068, allocations: 19.98 kB / 1.179 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/1.069, allocations: 16.34 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/1.069, allocations: 8 kB / 1.179 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008628/1.069, allocations: 0.5811 MB / 1.18 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.069, allocations: 3.938 kB / 1.18 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006194/1.07, allocations: 159.8 kB / 1.18 GB, free: 9.328 MB / 0.9356 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.001005/1.071, allocations: 0.8905 MB / 1.181 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005567/1.072, allocations: 241 kB / 1.181 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.072, allocations: 4 kB / 1.181 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.244e-05/1.072, allocations: 47.84 kB / 1.181 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/1.073, allocations: 361.1 kB / 1.181 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/1.079, allocations: 3.859 MB / 1.185 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000667/1.08, allocations: 0.9372 MB / 1.186 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005347/1.08, allocations: 138.1 kB / 1.186 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/1.081, allocations: 227.4 kB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of SimCode: time 1.082e-06/1.081, allocations: 0 / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05003/1.131, allocations: 17.31 MB / 1.203 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003594/1.131, allocations: 270.1 kB / 1.204 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.199/3.33, allocations: 0 / 1.204 GB, free: 1.125 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat does not exist to compare? outputFormat=mat