Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",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.001374/0.001374, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.525/0.5263, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1575/0.6839, allocations: 171 MB / 1.184 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005478/0.6894, allocations: 4.292 MB / 1.189 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003691/0.6898, allocations: 19.88 kB / 1.189 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008204/0.6906, allocations: 346 kB / 1.189 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001824/0.6925, allocations: 1.007 MB / 1.19 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.6941, allocations: 0.8035 MB / 1.191 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.6953, allocations: 1.286 MB / 1.192 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005322/0.6959, allocations: 487.2 kB / 1.192 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009489/0.6968, allocations: 0.6693 MB / 1.193 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008438/0.6977, allocations: 445.1 kB / 1.194 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.74e-05/0.6978, allocations: 52 kB / 1.194 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.6991, allocations: 0.9082 MB / 1.194 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.6993, allocations: 231.3 kB / 1.195 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003024/0.6996, allocations: 322.6 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.7008, allocations: 1.118 MB / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.7008, allocations: 0 / 1.196 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.042e-06/0.7008, allocations: 3.938 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.7008, allocations: 0 / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001447/0.7023, allocations: 0.9544 MB / 1.197 GB, free: 9.824 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.7023, allocations: 8.031 kB / 1.197 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.142e-05/0.7024, allocations: 82.53 kB / 1.197 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.7041, allocations: 263 kB / 1.197 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.7049, allocations: 489.4 kB / 1.198 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.7052, allocations: 92.91 kB / 1.198 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.7053, allocations: 40 kB / 1.198 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7065, allocations: 0.6224 MB / 1.199 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7065, allocations: 0 / 1.199 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.7066, allocations: 20 kB / 1.199 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.7066, allocations: 17 kB / 1.199 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/0.7081, allocations: 0.5581 MB / 1.199 GB, free: 7.582 MB / 0.9512 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.003768/0.7119, allocations: 2.288 MB / 1.201 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.7129, allocations: 302.2 kB / 1.202 GB, free: 4.855 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/0.7135, allocations: 176.6 kB / 1.202 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.7136, allocations: 4 kB / 1.202 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.7136, allocations: 38.56 kB / 1.202 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.7136, allocations: 0 / 1.202 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11): time 0.005405/0.719, allocations: 1.1 MB / 1.203 GB, free: 3.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7191, allocations: 85.05 kB / 1.203 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005609/0.7196, allocations: 0.5457 MB / 1.204 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.7197, allocations: 29.92 kB / 1.204 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.7199, allocations: 303.5 kB / 1.204 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/0.7199, allocations: 51.38 kB / 1.204 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.72, allocations: 57.61 kB / 1.204 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7202, allocations: 354.8 kB / 1.204 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.7208, allocations: 195.8 kB / 1.204 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/0.7215, allocations: 278.3 kB / 1.205 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.7228, allocations: 420.7 kB / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7228, allocations: 8 kB / 1.205 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002773/0.7256, allocations: 0.7316 MB / 1.206 GB, free: 360 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.7256, allocations: 8 kB / 1.206 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7256, allocations: 96 / 1.206 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/0.7262, allocations: 188.7 kB / 1.206 GB, free: 160 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.7266, allocations: 75.88 kB / 1.206 GB, free: 84 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.7304, allocations: 2.231 MB / 1.208 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005995/0.731, allocations: 83.47 kB / 1.208 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.7311, allocations: 16 kB / 1.208 GB, free: 13.61 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002147/0.7313, allocations: 187.1 kB / 1.209 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.7314, allocations: 51.38 kB / 1.209 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.7315, allocations: 52.03 kB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7315, allocations: 4 kB / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.7315, allocations: 0 / 1.209 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7315, allocations: 4 kB / 1.209 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.7346, allocations: 1.14 MB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.7346, allocations: 4 kB / 1.21 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.7349, allocations: 43.95 kB / 1.21 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/0.7354, allocations: 184.7 kB / 1.21 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.7355, allocations: 3.984 kB / 1.21 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/0.739, allocations: 2.183 MB / 1.212 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.739, allocations: 4.031 kB / 1.212 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.7416, allocations: 0.7195 MB / 1.213 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.7418, allocations: 168.5 kB / 1.213 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.7419, allocations: 7.938 kB / 1.213 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.7425, allocations: 47.94 kB / 1.213 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.7426, allocations: 15.98 kB / 1.213 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.7426, allocations: 11.98 kB / 1.213 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003997/0.743, allocations: 390.8 kB / 1.213 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.743, allocations: 0 / 1.213 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005618/0.7436, allocations: 187.8 kB / 1.214 GB, free: 7.973 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003057/0.7467, allocations: 1.319 MB / 1.215 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001618/0.7483, allocations: 0.5335 MB / 1.215 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.7483, allocations: 3.938 kB / 1.215 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007594/0.7491, allocations: 307 kB / 1.216 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.7505, allocations: 314.8 kB / 1.216 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.7617, allocations: 5.177 MB / 1.221 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.7621, allocations: 0.8582 MB / 1.222 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004426/0.7626, allocations: 108.5 kB / 1.222 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.7628, allocations: 163.4 kB / 1.222 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.7628, allocations: 0 / 1.222 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03691/0.7997, allocations: 16.76 MB / 1.239 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.06, allocations: 19.81 kB / 1.239 GB, free: 14.55 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches