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.006428/0.006428, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.001771/0.001771, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.334/2.334, allocations: 437.1 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2376, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.6075/0.8452, allocations: 171 MB / 1.333 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005611/0.8509, allocations: 4.287 MB / 1.337 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.8512, allocations: 22.09 kB / 1.337 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007981/0.852, allocations: 353.8 kB / 1.338 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.8538, allocations: 0.9947 MB / 1.339 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.8554, allocations: 0.8131 MB / 1.339 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.8566, allocations: 1.297 MB / 1.341 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005093/0.8571, allocations: 487.8 kB / 1.341 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009152/0.8581, allocations: 0.6687 MB / 1.342 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.8589, allocations: 460.5 kB / 1.342 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.068e-05/0.859, allocations: 51.5 kB / 1.342 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.8603, allocations: 0.9049 MB / 1.343 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.8605, allocations: 214.4 kB / 1.343 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.8608, allocations: 327.4 kB / 1.344 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.862, allocations: 1.136 MB / 1.345 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8621, allocations: 1.344 kB / 1.345 GB, free: 10.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.82e-07/0.8621, allocations: 0 / 1.345 GB, free: 10.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8621, allocations: 0 / 1.345 GB, free: 10.38 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.001408/0.8635, allocations: 0.971 MB / 1.346 GB, free: 9.672 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.8635, allocations: 14.34 kB / 1.346 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.992e-05/0.8636, allocations: 85.36 kB / 1.346 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.8651, allocations: 258.8 kB / 1.346 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007302/0.8658, allocations: 0.5023 MB / 1.347 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.8659, allocations: 37.44 kB / 1.347 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.8659, allocations: 38.41 kB / 1.347 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.867, allocations: 0.6222 MB / 1.347 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.867, allocations: 3.938 kB / 1.347 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.8671, allocations: 17.41 kB / 1.347 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.8671, allocations: 20.92 kB / 1.347 GB, free: 8.875 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.8684, allocations: 0.5453 MB / 1.348 GB, free: 8.719 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.003416/0.8719, allocations: 2.267 MB / 1.35 GB, free: 7.238 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.8727, allocations: 278.8 kB / 1.35 GB, free: 7.152 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004959/0.8732, allocations: 165.9 kB / 1.351 GB, free: 7.105 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.8732, allocations: 5.562 kB / 1.351 GB, free: 7.102 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.8733, allocations: 34.58 kB / 1.351 GB, free: 7.062 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.8733, allocations: 224 / 1.351 GB, free: 7.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.004525/0.8778, allocations: 1.09 MB / 1.352 GB, free: 6.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.8779, allocations: 78.73 kB / 1.352 GB, free: 6.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.8784, allocations: 0.5589 MB / 1.352 GB, free: 6.395 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.8785, allocations: 32.02 kB / 1.352 GB, free: 6.359 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.8787, allocations: 305.4 kB / 1.353 GB, free: 6.113 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.8787, allocations: 45.58 kB / 1.353 GB, free: 6.078 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.8789, allocations: 61.11 kB / 1.353 GB, free: 6.039 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.879, allocations: 356.9 kB / 1.353 GB, free: 5.707 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.8796, allocations: 189.5 kB / 1.353 GB, free: 5.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.8802, allocations: 271.1 kB / 1.353 GB, free: 5.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.8812, allocations: 406.5 kB / 1.354 GB, free: 5.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8812, allocations: 1.312 kB / 1.354 GB, free: 5.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002363/0.8836, allocations: 0.7324 MB / 1.355 GB, free: 5.109 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.8836, allocations: 6.125 kB / 1.355 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.8836, allocations: 2.094 kB / 1.355 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.8842, allocations: 181.7 kB / 1.355 GB, free: 5.066 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.8845, allocations: 73.3 kB / 1.355 GB, free: 5.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/0.8881, allocations: 2.243 MB / 1.357 GB, free: 3.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.8886, allocations: 78.36 kB / 1.357 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.8887, allocations: 10.03 kB / 1.357 GB, free: 3.34 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.0001997/0.8889, allocations: 190.2 kB / 1.357 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.889, allocations: 50.38 kB / 1.357 GB, free: 3.164 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.889, allocations: 52.61 kB / 1.357 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8891, allocations: 1.156 kB / 1.357 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.8891, allocations: 0 / 1.357 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8891, allocations: 10.84 kB / 1.357 GB, free: 3.129 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.8918, allocations: 1.145 MB / 1.359 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8919, allocations: 1.281 kB / 1.359 GB, free: 2.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.8921, allocations: 35.77 kB / 1.359 GB, free: 2.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.8926, allocations: 183.5 kB / 1.359 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.8926, allocations: 6.406 kB / 1.359 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003357/0.8959, allocations: 2.181 MB / 1.361 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.896, allocations: 5.219 kB / 1.361 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.8982, allocations: 0.7084 MB / 1.362 GB, free: 0 / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.8984, allocations: 170.8 kB / 1.362 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.398e-05/0.8985, allocations: 1.438 kB / 1.362 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.899, allocations: 55.95 kB / 1.362 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.8991, allocations: 13.36 kB / 1.362 GB, free: 15.81 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.8991, allocations: 16.05 kB / 1.362 GB, free: 15.8 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003959/0.8995, allocations: 392.8 kB / 1.362 GB, free: 15.57 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8995, allocations: 0 / 1.362 GB, free: 15.57 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000508/0.9001, allocations: 183 kB / 1.362 GB, free: 15.55 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.002749/0.9028, allocations: 1.323 MB / 1.364 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.9042, allocations: 0.5243 MB / 1.364 GB, free: 14.24 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9042, allocations: 5.531 kB / 1.364 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.9049, allocations: 300.2 kB / 1.364 GB, free: 14.03 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.9061, allocations: 297.8 kB / 1.365 GB, free: 13.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009829/0.916, allocations: 5.081 MB / 1.37 GB, free: 10.64 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.9164, allocations: 0.8606 MB / 1.371 GB, free: 9.859 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003021/0.9167, allocations: 112.7 kB / 1.371 GB, free: 9.805 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.9169, allocations: 160.8 kB / 1.371 GB, free: 9.672 MB / 1.045 GB Notification: Performance of SimCode: time 2.3e-07/0.9169, allocations: 0 / 1.371 GB, free: 9.672 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.877/7.794, allocations: 16.9 MB / 1.387 GB, free: 1.398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.39/28.18, allocations: 12.17 kB / 1.387 GB, free: 1.391 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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