Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.005006/0.005006, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001413/0.001413, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.473/2.473, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 68.3 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.6123, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1695/0.7818, allocations: 171 MB / 1.387 GB, free: 6.387 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.005758/0.7876, allocations: 4.286 MB / 1.391 GB, free: 2.094 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.7881, allocations: 23.88 kB / 1.391 GB, free: 2.07 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008598/0.7889, allocations: 346 kB / 1.392 GB, free: 1.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.7909, allocations: 0.9993 MB / 1.393 GB, free: 0.7266 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.7927, allocations: 0.8078 MB / 1.393 GB, free: 15.92 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00146/0.7941, allocations: 1.294 MB / 1.395 GB, free: 14.62 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005926/0.7947, allocations: 487.2 kB / 1.395 GB, free: 14.14 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.7958, allocations: 0.6693 MB / 1.396 GB, free: 13.47 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000936/0.7967, allocations: 455.2 kB / 1.396 GB, free: 13.03 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.7968, allocations: 52 kB / 1.396 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0014/0.7982, allocations: 0.9121 MB / 1.397 GB, free: 12.06 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.7985, allocations: 223.3 kB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.7988, allocations: 326.5 kB / 1.398 GB, free: 11.52 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.8003, allocations: 1.13 MB / 1.399 GB, free: 10.39 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8003, allocations: 3.984 kB / 1.399 GB, free: 10.39 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8003, allocations: 0 / 1.399 GB, free: 10.39 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.8003, allocations: 3.938 kB / 1.399 GB, free: 10.38 MB / 1.123 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.001505/0.8018, allocations: 0.9728 MB / 1.4 GB, free: 9.359 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.8018, allocations: 8.031 kB / 1.4 GB, free: 9.352 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.226e-05/0.8019, allocations: 82.53 kB / 1.4 GB, free: 9.262 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.8034, allocations: 259.4 kB / 1.4 GB, free: 9.008 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.8042, allocations: 0.5017 MB / 1.401 GB, free: 8.469 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.8043, allocations: 29 kB / 1.401 GB, free: 8.441 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.06e-05/0.8043, allocations: 40 kB / 1.401 GB, free: 8.402 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.8055, allocations: 0.6185 MB / 1.401 GB, free: 7.754 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.8055, allocations: 0 / 1.401 GB, free: 7.754 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.8056, allocations: 20 kB / 1.401 GB, free: 7.734 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.818e-05/0.8056, allocations: 24.88 kB / 1.401 GB, free: 7.711 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.807, allocations: 0.5503 MB / 1.402 GB, free: 7.16 MB / 1.123 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.003629/0.8106, allocations: 2.281 MB / 1.404 GB, free: 4.75 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.8115, allocations: 282.3 kB / 1.404 GB, free: 4.465 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.8121, allocations: 172.7 kB / 1.405 GB, free: 4.293 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.8121, allocations: 0 / 1.405 GB, free: 4.293 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.8121, allocations: 34.56 kB / 1.405 GB, free: 4.25 MB / 1.123 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.8121, allocations: 0 / 1.405 GB, free: 4.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.004771/0.8169, allocations: 1.088 MB / 1.406 GB, free: 3.133 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.817, allocations: 77.11 kB / 1.406 GB, free: 3.039 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.8176, allocations: 0.5573 MB / 1.406 GB, free: 2.473 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.8176, allocations: 29.7 kB / 1.406 GB, free: 2.438 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.8178, allocations: 308 kB / 1.407 GB, free: 2.133 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.8179, allocations: 43.69 kB / 1.407 GB, free: 2.09 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.818, allocations: 65.64 kB / 1.407 GB, free: 2.02 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.8182, allocations: 354.8 kB / 1.407 GB, free: 1.664 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005766/0.8188, allocations: 187.8 kB / 1.407 GB, free: 1.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.8194, allocations: 273.2 kB / 1.407 GB, free: 1.18 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.8205, allocations: 402.3 kB / 1.408 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.8205, allocations: 0 / 1.408 GB, free: 0.7578 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002499/0.823, allocations: 0.7319 MB / 1.409 GB, free: 16 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.823, allocations: 11.94 kB / 1.409 GB, free: 4 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8231, allocations: 3.984 kB / 1.409 GB, free: 0 / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005984/0.8237, allocations: 188.8 kB / 1.409 GB, free: 15.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/0.824, allocations: 75.88 kB / 1.409 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003754/0.8278, allocations: 2.235 MB / 1.411 GB, free: 13.38 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005221/0.8283, allocations: 79.58 kB / 1.411 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.8283, allocations: 8 kB / 1.411 GB, free: 13.29 MB / 1.139 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.0002183/0.8286, allocations: 190.3 kB / 1.411 GB, free: 13.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.416e-05/0.8287, allocations: 55.66 kB / 1.411 GB, free: 13.04 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.812e-05/0.8288, allocations: 55.97 kB / 1.411 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.8288, allocations: 0 / 1.411 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.8288, allocations: 192 / 1.411 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.8288, allocations: 4 kB / 1.411 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.8317, allocations: 1.141 MB / 1.412 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8317, allocations: 0 / 1.412 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.8319, allocations: 35.95 kB / 1.413 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/0.8325, allocations: 176.8 kB / 1.413 GB, free: 11.56 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/0.8325, allocations: 8 kB / 1.413 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003498/0.836, allocations: 2.191 MB / 1.415 GB, free: 9.219 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.836, allocations: 3.938 kB / 1.415 GB, free: 9.215 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.8384, allocations: 0.7044 MB / 1.416 GB, free: 8.484 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.8386, allocations: 172.7 kB / 1.416 GB, free: 8.297 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.541e-05/0.8386, allocations: 8 kB / 1.416 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.8392, allocations: 58.72 kB / 1.416 GB, free: 8.234 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.8392, allocations: 7.984 kB / 1.416 GB, free: 8.227 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.8393, allocations: 15.98 kB / 1.416 GB, free: 8.211 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0004201/0.8397, allocations: 394.8 kB / 1.416 GB, free: 7.828 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8397, allocations: 0 / 1.416 GB, free: 7.828 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005233/0.8402, allocations: 175.8 kB / 1.416 GB, free: 7.656 MB / 1.139 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.002897/0.8431, allocations: 1.318 MB / 1.418 GB, free: 6.309 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.8446, allocations: 0.5141 MB / 1.418 GB, free: 5.781 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.8446, allocations: 4 kB / 1.418 GB, free: 5.777 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.8453, allocations: 310.9 kB / 1.418 GB, free: 5.461 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.8466, allocations: 310.6 kB / 1.419 GB, free: 5.16 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.8571, allocations: 5.08 MB / 1.424 GB, free: 15.92 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.8576, allocations: 0.8582 MB / 1.425 GB, free: 15.04 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000348/0.858, allocations: 108.5 kB / 1.425 GB, free: 14.93 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.8582, allocations: 167.4 kB / 1.425 GB, free: 14.76 MB / 1.154 GB Notification: Performance of SimCode: time 4.01e-07/0.8582, allocations: 0 / 1.425 GB, free: 14.76 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.711/2.569, allocations: 16.89 MB / 1.441 GB, free: 14.25 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/18.53, allocations: 9.422 kB / 1.441 GB, free: 14.25 MB / 1.17 GB (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches