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.004401/0.004401, allocations: 99.42 kB / 15.73 MB, free: 6.012 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.001224/0.001224, allocations: 193 kB / 16.67 MB, free: 5.949 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.636/2.636, allocations: 437 MB / 0.7105 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001847, allocations: 71.89 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2661, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6718/0.9379, allocations: 171 MB / 1.333 GB, free: 1.145 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00661/0.9445, allocations: 4.284 MB / 1.337 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005709/0.9451, allocations: 23.22 kB / 1.337 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.9461, allocations: 351.2 kB / 1.338 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.9485, allocations: 1.003 MB / 1.339 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.9505, allocations: 0.8139 MB / 1.339 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.9521, allocations: 1.296 MB / 1.341 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.9527, allocations: 480.8 kB / 1.341 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.9539, allocations: 0.6747 MB / 1.342 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.955, allocations: 454.5 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.196e-05/0.9551, allocations: 52.19 kB / 1.342 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/0.9567, allocations: 0.9137 MB / 1.343 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.9569, allocations: 211.5 kB / 1.343 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003561/0.9573, allocations: 330.5 kB / 1.344 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.9588, allocations: 1.139 MB / 1.345 GB, free: 10.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.9588, allocations: 0 / 1.345 GB, free: 10.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9588, allocations: 0 / 1.345 GB, free: 10.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.9588, allocations: 1.719 kB / 1.345 GB, free: 10.66 MB / 1.029 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.001676/0.9605, allocations: 0.9658 MB / 1.346 GB, free: 9.957 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.9606, allocations: 9.219 kB / 1.346 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.9607, allocations: 86.48 kB / 1.346 GB, free: 9.891 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.9623, allocations: 264 kB / 1.346 GB, free: 9.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008739/0.9632, allocations: 0.497 MB / 1.347 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.9632, allocations: 31.28 kB / 1.347 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.995e-05/0.9633, allocations: 38.84 kB / 1.347 GB, free: 9.457 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.9646, allocations: 0.6218 MB / 1.347 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.9646, allocations: 5.25 kB / 1.347 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.995e-05/0.9647, allocations: 20.47 kB / 1.347 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.119e-05/0.9647, allocations: 18.22 kB / 1.347 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.9661, allocations: 0.5502 MB / 1.348 GB, free: 9.008 MB / 1.029 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.003897/0.97, allocations: 2.259 MB / 1.35 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.971, allocations: 287.2 kB / 1.35 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005539/0.9715, allocations: 165.7 kB / 1.351 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.9716, allocations: 10.28 kB / 1.351 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.9716, allocations: 32.62 kB / 1.351 GB, free: 7.348 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.9716, allocations: 0 / 1.351 GB, free: 7.348 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.005017/0.9766, allocations: 1.09 MB / 1.352 GB, free: 7.031 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.9767, allocations: 86.39 kB / 1.352 GB, free: 6.93 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/0.9774, allocations: 0.5573 MB / 1.352 GB, free: 6.676 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.9774, allocations: 32.27 kB / 1.352 GB, free: 6.641 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.9777, allocations: 300.1 kB / 1.353 GB, free: 6.398 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.9777, allocations: 44.2 kB / 1.353 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.9779, allocations: 59.55 kB / 1.353 GB, free: 6.328 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.978, allocations: 356.4 kB / 1.353 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.9786, allocations: 192.5 kB / 1.353 GB, free: 5.945 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.9793, allocations: 263.1 kB / 1.353 GB, free: 5.809 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.9805, allocations: 406.3 kB / 1.354 GB, free: 5.629 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9805, allocations: 5.031 kB / 1.354 GB, free: 5.625 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0026/0.9831, allocations: 0.7323 MB / 1.355 GB, free: 5.398 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9831, allocations: 5.438 kB / 1.355 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.9831, allocations: 3.344 kB / 1.355 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/0.9837, allocations: 180.5 kB / 1.355 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.9841, allocations: 75.22 kB / 1.355 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003981/0.9881, allocations: 2.234 MB / 1.357 GB, free: 3.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.9887, allocations: 82.05 kB / 1.357 GB, free: 3.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.9888, allocations: 8.281 kB / 1.357 GB, free: 3.633 MB / 1.029 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.0002435/0.989, allocations: 194.3 kB / 1.357 GB, free: 3.477 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.9891, allocations: 49.69 kB / 1.357 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.859e-05/0.9892, allocations: 54.06 kB / 1.357 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.9892, allocations: 1.281 kB / 1.357 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.9892, allocations: 0 / 1.357 GB, free: 3.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.9892, allocations: 5.188 kB / 1.357 GB, free: 3.422 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.9923, allocations: 1.14 MB / 1.358 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.9923, allocations: 1 kB / 1.358 GB, free: 2.699 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.9926, allocations: 41.17 kB / 1.359 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005232/0.9931, allocations: 183 kB / 1.359 GB, free: 2.598 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.9931, allocations: 7.656 kB / 1.359 GB, free: 2.594 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.9969, allocations: 2.188 MB / 1.361 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9969, allocations: 1.5 kB / 1.361 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.9994, allocations: 0.7035 MB / 1.362 GB, free: 284 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/0.9996, allocations: 171.1 kB / 1.362 GB, free: 124 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.9997, allocations: 5.062 kB / 1.362 GB, free: 120 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/1, allocations: 53.47 kB / 1.362 GB, free: 96 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/1, allocations: 13.39 kB / 1.362 GB, free: 88 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/1, allocations: 20.05 kB / 1.362 GB, free: 76 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004905/1.001, allocations: 396.5 kB / 1.362 GB, free: 15.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.31e-07/1.001, allocations: 0 / 1.362 GB, free: 15.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005987/1.002, allocations: 179 kB / 1.362 GB, free: 15.82 MB / 1.045 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/1.005, allocations: 1.324 MB / 1.364 GB, free: 14.82 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.006, allocations: 0.5268 MB / 1.364 GB, free: 14.51 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.006, allocations: 3.938 kB / 1.364 GB, free: 14.51 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007251/1.007, allocations: 300.4 kB / 1.364 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.008, allocations: 299.2 kB / 1.365 GB, free: 14.15 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.02, allocations: 5.069 MB / 1.37 GB, free: 10.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.02, allocations: 0.8661 MB / 1.371 GB, free: 10.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000441/1.021, allocations: 112.4 kB / 1.371 GB, free: 10.08 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/1.021, allocations: 174.1 kB / 1.371 GB, free: 9.938 MB / 1.045 GB Notification: Performance of SimCode: time 4.61e-07/1.021, allocations: 0 / 1.371 GB, free: 9.938 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/1.066, allocations: 16.88 MB / 1.387 GB, free: 1.684 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.96, allocations: 19.89 kB / 1.387 GB, free: 1.672 MB / 1.045 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