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.006907/0.006907, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001634/0.001634, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.513/2.513, allocations: 437.1 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.89 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2456, allocations: 151.6 MB / 1.166 GB, free: 7.355 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6907/0.9363, allocations: 171 MB / 1.333 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.006618/0.943, allocations: 4.287 MB / 1.337 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008285/0.9439, allocations: 21.28 kB / 1.337 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.945, allocations: 367.4 kB / 1.338 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002726/0.9478, allocations: 1.03 MB / 1.339 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002294/0.9501, allocations: 0.8189 MB / 1.34 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.9518, allocations: 1.306 MB / 1.341 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006259/0.9524, allocations: 475.6 kB / 1.341 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001212/0.9537, allocations: 0.7048 MB / 1.342 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.9548, allocations: 459.9 kB / 1.342 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.9549, allocations: 52.25 kB / 1.342 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001892/0.9568, allocations: 0.9149 MB / 1.343 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.9571, allocations: 208.9 kB / 1.344 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.9575, allocations: 331.2 kB / 1.344 GB, free: 10.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.9593, allocations: 1.139 MB / 1.345 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.9593, allocations: 0 / 1.345 GB, free: 10.4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9593, allocations: 0 / 1.345 GB, free: 10.4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.9593, allocations: 1.219 kB / 1.345 GB, free: 10.4 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.001681/0.961, allocations: 0.9662 MB / 1.346 GB, free: 9.691 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.9611, allocations: 9.969 kB / 1.346 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.659e-05/0.9612, allocations: 81.83 kB / 1.346 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.9628, allocations: 268.3 kB / 1.346 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008794/0.9637, allocations: 0.4977 MB / 1.347 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.9637, allocations: 33.62 kB / 1.347 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.9638, allocations: 38.09 kB / 1.347 GB, free: 9.188 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.965, allocations: 0.613 MB / 1.347 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.965, allocations: 5.094 kB / 1.347 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.675e-05/0.9651, allocations: 16.72 kB / 1.347 GB, free: 8.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.9651, allocations: 28.94 kB / 1.347 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.9665, allocations: 0.5455 MB / 1.348 GB, free: 8.742 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.003844/0.9703, allocations: 2.263 MB / 1.35 GB, free: 7.266 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009098/0.9713, allocations: 279.6 kB / 1.35 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.9718, allocations: 166.5 kB / 1.351 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.9718, allocations: 5.312 kB / 1.351 GB, free: 7.129 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.9719, allocations: 41.09 kB / 1.351 GB, free: 7.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.9719, allocations: 0 / 1.351 GB, free: 7.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.004916/0.9768, allocations: 1.09 MB / 1.352 GB, free: 6.766 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.9769, allocations: 79.27 kB / 1.352 GB, free: 6.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006225/0.9775, allocations: 0.5653 MB / 1.352 GB, free: 6.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.9775, allocations: 28.2 kB / 1.352 GB, free: 6.379 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/0.9777, allocations: 302.5 kB / 1.353 GB, free: 6.133 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.9778, allocations: 40.83 kB / 1.353 GB, free: 6.102 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.9779, allocations: 64.91 kB / 1.353 GB, free: 6.062 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.9781, allocations: 351.5 kB / 1.353 GB, free: 5.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.9787, allocations: 189.8 kB / 1.353 GB, free: 5.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.9793, allocations: 266.6 kB / 1.354 GB, free: 5.547 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.9804, allocations: 408.9 kB / 1.354 GB, free: 5.363 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9805, allocations: 1.281 kB / 1.354 GB, free: 5.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002607/0.9831, allocations: 0.7229 MB / 1.355 GB, free: 5.145 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9831, allocations: 10.44 kB / 1.355 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9831, allocations: 4.141 kB / 1.355 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.9837, allocations: 184.9 kB / 1.355 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.9841, allocations: 67.66 kB / 1.355 GB, free: 5.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004005/0.9881, allocations: 2.237 MB / 1.357 GB, free: 3.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000602/0.9887, allocations: 77.58 kB / 1.357 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.9888, allocations: 14.45 kB / 1.357 GB, free: 3.371 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.0002536/0.9891, allocations: 187 kB / 1.357 GB, free: 3.223 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.9892, allocations: 49.03 kB / 1.357 GB, free: 3.199 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.9893, allocations: 60.3 kB / 1.357 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9893, allocations: 1.406 kB / 1.357 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.9893, allocations: 0.7812 kB / 1.357 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.9893, allocations: 5.859 kB / 1.357 GB, free: 3.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.9924, allocations: 1.14 MB / 1.359 GB, free: 2.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.9924, allocations: 6.172 kB / 1.359 GB, free: 2.453 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.9927, allocations: 36.28 kB / 1.359 GB, free: 2.441 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005332/0.9932, allocations: 184.1 kB / 1.359 GB, free: 2.355 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.9932, allocations: 5.062 kB / 1.359 GB, free: 2.352 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003536/0.9968, allocations: 2.187 MB / 1.361 GB, free: 484 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9968, allocations: 3.984 kB / 1.361 GB, free: 480 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.9992, allocations: 0.7015 MB / 1.362 GB, free: 40 kB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.9996, allocations: 169.2 kB / 1.362 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.21e-05/0.9997, allocations: 6.188 kB / 1.362 GB, free: 15.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/1, allocations: 53.89 kB / 1.362 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/1, allocations: 16.39 kB / 1.362 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.932e-05/1, allocations: 11.8 kB / 1.362 GB, free: 15.84 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004666/1.001, allocations: 400.6 kB / 1.362 GB, free: 15.61 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.001, allocations: 0 / 1.362 GB, free: 15.61 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006601/1.002, allocations: 179.4 kB / 1.362 GB, free: 15.58 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.002968/1.005, allocations: 1.328 MB / 1.364 GB, free: 14.58 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.006, allocations: 0.5277 MB / 1.364 GB, free: 14.27 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.006, allocations: 11.56 kB / 1.364 GB, free: 14.26 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/1.007, allocations: 294.6 kB / 1.365 GB, free: 14.05 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/1.008, allocations: 301.4 kB / 1.365 GB, free: 13.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.019, allocations: 5.068 MB / 1.37 GB, free: 10.68 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.02, allocations: 0.8677 MB / 1.371 GB, free: 9.891 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000422/1.02, allocations: 107.5 kB / 1.371 GB, free: 9.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.02, allocations: 161.3 kB / 1.371 GB, free: 9.707 MB / 1.045 GB Notification: Performance of SimCode: time 2.194e-06/1.02, allocations: 0 / 1.371 GB, free: 9.707 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04196/1.062, allocations: 16.9 MB / 1.387 GB, free: 1.434 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.64, allocations: 11.83 kB / 1.387 GB, free: 1.422 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