Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.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.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling",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.0008813/0.0008813, allocations: 86.88 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.001149/0.001149, 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.52/1.52, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.592/2.592, allocations: 409.4 MB / 0.684 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8828, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling): time 0.2093/1.092, allocations: 165.4 MB / 1.143 GB, free: 404 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01014/1.102, allocations: 5.037 MB / 1.148 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/1.104, allocations: 31.75 kB / 1.148 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/1.105, allocations: 298.2 kB / 1.148 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004271/1.109, allocations: 1.223 MB / 1.149 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/1.112, allocations: 0.5742 MB / 1.15 GB, free: 9.227 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003643/1.115, allocations: 2.528 MB / 1.152 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008768/1.116, allocations: 0.5153 MB / 1.153 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001513/1.118, allocations: 0.6106 MB / 1.153 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/1.119, allocations: 0.6343 MB / 1.154 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-05/1.119, allocations: 24 kB / 1.154 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/1.122, allocations: 0.6859 MB / 1.154 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004096/1.122, allocations: 267.1 kB / 1.155 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003601/1.123, allocations: 189.3 kB / 1.155 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/1.124, allocations: 1.122 MB / 1.156 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.124, allocations: 0 / 1.156 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.146e-06/1.124, allocations: 0 / 1.156 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.098e-05/1.124, allocations: 0 / 1.156 GB, free: 2.629 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002044/1.126, allocations: 1.024 MB / 1.157 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/1.126, allocations: 15.98 kB / 1.157 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/1.127, allocations: 106.5 kB / 1.157 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/1.128, allocations: 266.7 kB / 1.157 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/1.129, allocations: 0.6635 MB / 1.158 GB, free: 472 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/1.13, allocations: 41.31 kB / 1.158 GB, free: 428 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.173e-05/1.13, allocations: 60 kB / 1.158 GB, free: 368 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.131, allocations: 0.5726 MB / 1.159 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/1.131, allocations: 3.906 kB / 1.159 GB, free: 15.78 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/1.131, allocations: 24 kB / 1.159 GB, free: 15.75 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.305e-05/1.131, allocations: 21.31 kB / 1.159 GB, free: 15.73 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/1.132, allocations: 0.5009 MB / 1.159 GB, free: 15.23 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.003332/1.135, allocations: 2.388 MB / 1.162 GB, free: 12.65 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/1.136, allocations: 422.9 kB / 1.162 GB, free: 12.23 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/1.136, allocations: 213.5 kB / 1.162 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.136, allocations: 105 kB / 1.162 GB, free: 11.9 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/1.136, allocations: 42.52 kB / 1.162 GB, free: 11.85 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.525e-06/1.136, allocations: 0 / 1.162 GB, free: 11.85 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003057/1.14, allocations: 1.435 MB / 1.164 GB, free: 10.36 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/1.14, allocations: 67.78 kB / 1.164 GB, free: 10.28 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/1.14, allocations: 0.5304 MB / 1.164 GB, free: 9.742 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/1.14, allocations: 37.7 kB / 1.164 GB, free: 9.699 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/1.141, allocations: 328.7 kB / 1.165 GB, free: 9.371 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/1.141, allocations: 173.5 kB / 1.165 GB, free: 9.199 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/1.141, allocations: 8 kB / 1.165 GB, free: 9.191 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.141, allocations: 370.8 kB / 1.165 GB, free: 8.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003055/1.141, allocations: 173 kB / 1.165 GB, free: 8.648 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003728/1.142, allocations: 264.8 kB / 1.166 GB, free: 8.371 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: volExa.dynBal.medium.p = volExa.dynBal.p_start (bou.p = volExa.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volSim.dynBal.medium.p = volSim.dynBal.p_start (bou.p = volSim.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/1.144, allocations: 1.04 MB / 1.167 GB, free: 7.297 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.144, allocations: 3.953 kB / 1.167 GB, free: 7.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009264/1.145, allocations: 0.5265 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.145, allocations: 9.094 kB / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/1.145, allocations: 0 / 1.167 GB, free: 6.754 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.145, allocations: 4 kB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/1.146, allocations: 104 kB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/1.146, allocations: 7.984 kB / 1.167 GB, free: 6.641 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006847/1.146, allocations: 33.25 kB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.147, allocations: 27.98 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: volExa.dynBal.medium.p = volExa.dynBal.p_start volSim.dynBal.medium.p = volSim.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (56): * Single equations (assignments): 56 * 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.0004825/1.147, allocations: 249.7 kB / 1.168 GB, free: 6.328 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/1.147, allocations: 67.2 kB / 1.168 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/1.147, allocations: 78.45 kB / 1.168 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/1.147, allocations: 4 kB / 1.168 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.147, allocations: 0 / 1.168 GB, free: 6.184 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000792/1.148, allocations: 0.5105 MB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/1.151, allocations: 1.585 MB / 1.17 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.151, allocations: 12.02 kB / 1.17 GB, free: 3.926 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/1.152, allocations: 119.8 kB / 1.17 GB, free: 3.809 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.387e-05/1.152, allocations: 8 kB / 1.17 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/1.152, allocations: 12 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/1.152, allocations: 8 kB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.152, allocations: 7.938 kB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001336/1.153, allocations: 0.8987 MB / 1.171 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/1.153, allocations: 208.1 kB / 1.171 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.951e-05/1.154, allocations: 16.14 kB / 1.171 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/1.154, allocations: 32.97 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.362e-05/1.154, allocations: 47.84 kB / 1.171 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/1.154, allocations: 27.98 kB / 1.171 GB, free: 2.457 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004907/1.155, allocations: 386.8 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.155, allocations: 0 / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007575/1.155, allocations: 200 kB / 1.172 GB, free: 1.887 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (volSim.dynBal.medium.Xi[1],volSim.dynBal.U,volExa.dynBal.medium.Xi[1],volExa.dynBal.U) * 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 (49): * Single equations (assignments): 49 * 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.001859/1.157, allocations: 1.534 MB / 1.173 GB, free: 276 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008565/1.158, allocations: 437.4 kB / 1.174 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.158, allocations: 0 / 1.174 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003599/1.159, allocations: 231.9 kB / 1.174 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.161, allocations: 480.2 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/1.168, allocations: 4.246 MB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/1.169, allocations: 0.9736 MB / 1.179 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008187/1.169, allocations: 165.8 kB / 1.179 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004025/1.17, allocations: 255.3 kB / 1.18 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of SimCode: time 1.402e-06/1.17, allocations: 0 / 1.18 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04197/1.212, allocations: 20.18 MB / 1.199 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.212, allocations: 254.3 kB / 1.2 GB, free: 5.215 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.516, allocations: 0 / 1.2 GB, free: 5.215 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeAdiabaticCooling.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeAdiabaticCooling_res.mat does not exist to compare? outputFormat=mat