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.001494/0.001494, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001479/0.001479, allocations: 192.8 kB / 16.25 MB, free: 6.152 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.376/1.376, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.729/2.729, allocations: 469.8 MB / 0.7421 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 72.41 kB / 0.9082 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 159.2 MB / 1.064 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1832/0.4369, allocations: 168.7 MB / 1.228 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006328/0.4432, allocations: 4.275 MB / 1.233 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.4437, allocations: 23.81 kB / 1.233 GB, free: 0.8203 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008591/0.4446, allocations: 306.5 kB / 1.233 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.4466, allocations: 0.9337 MB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.4485, allocations: 0.7474 MB / 1.234 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001451/0.45, allocations: 1.294 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.4505, allocations: 475.2 kB / 1.236 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.4516, allocations: 0.6617 MB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009497/0.4526, allocations: 481.8 kB / 1.237 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.77e-05/0.4527, allocations: 56 kB / 1.237 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001363/0.454, allocations: 0.9431 MB / 1.238 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.4543, allocations: 219.4 kB / 1.238 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.4546, allocations: 334.5 kB / 1.239 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.456, allocations: 1.173 MB / 1.24 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.456, allocations: 4 kB / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.322e-06/0.456, allocations: 0 / 1.24 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.456, allocations: 0 / 1.24 GB, free: 9.223 MB / 0.9981 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.001554/0.4576, allocations: 0.9389 MB / 1.241 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.4576, allocations: 8.031 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001063/0.4577, allocations: 86.47 kB / 1.241 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.4593, allocations: 267 kB / 1.241 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.46, allocations: 485.4 kB / 1.242 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002977/0.4603, allocations: 92.92 kB / 1.242 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.197e-05/0.4604, allocations: 40 kB / 1.242 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.4617, allocations: 0.6185 MB / 1.242 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4617, allocations: 0 / 1.242 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.4617, allocations: 24 kB / 1.242 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.4618, allocations: 17 kB / 1.242 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.4632, allocations: 0.5581 MB / 1.243 GB, free: 5.984 MB / 0.9981 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.003825/0.467, allocations: 2.284 MB / 1.245 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.4679, allocations: 298.2 kB / 1.246 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.4685, allocations: 172.7 kB / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.4685, allocations: 0 / 1.246 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.4686, allocations: 34.56 kB / 1.246 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.4686, allocations: 0 / 1.246 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.004994/0.4736, allocations: 1.107 MB / 1.247 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.4736, allocations: 93.2 kB / 1.247 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006317/0.4743, allocations: 0.5495 MB / 1.247 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.03e-05/0.4743, allocations: 37.64 kB / 1.247 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/0.4745, allocations: 299.5 kB / 1.248 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.4746, allocations: 39.45 kB / 1.248 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.4747, allocations: 57.61 kB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4749, allocations: 358.8 kB / 1.248 GB, free: 456 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005933/0.4755, allocations: 199.8 kB / 1.248 GB, free: 256 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4195/0.895, allocations: 262.2 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.8963, allocations: 417.7 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.8963, allocations: 0.7812 kB / 1.249 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002582/0.8989, allocations: 0.7313 MB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.8989, allocations: 6.375 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8989, allocations: 2.609 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.8995, allocations: 187 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.8999, allocations: 74.61 kB / 1.25 GB, free: 188.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/0.9032, allocations: 2.242 MB / 1.252 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.9038, allocations: 81.28 kB / 1.252 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.9038, allocations: 14.73 kB / 1.252 GB, free: 187.1 MB / 0.9981 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.0002207/0.904, allocations: 188.9 kB / 1.252 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.095e-05/0.9041, allocations: 49.25 kB / 1.252 GB, free: 187 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.997e-05/0.9042, allocations: 53.39 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9042, allocations: 4.875 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.9043, allocations: 4.75 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9043, allocations: 0.8438 kB / 1.253 GB, free: 186.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.907, allocations: 1.149 MB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.907, allocations: 1.031 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.9073, allocations: 40.39 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/0.9077, allocations: 185.6 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.9078, allocations: 6.531 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/0.9106, allocations: 2.198 MB / 1.256 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9106, allocations: 0.8125 kB / 1.256 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002163/0.9128, allocations: 0.7041 MB / 1.257 GB, free: 185 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.9129, allocations: 171.5 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.9e-05/0.913, allocations: 14.75 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005386/0.9136, allocations: 54.94 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.598e-05/0.9136, allocations: 17.42 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.619e-05/0.9137, allocations: 12.08 kB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003018/0.914, allocations: 394.5 kB / 1.257 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.41e-07/0.914, allocations: 0 / 1.257 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005214/0.9145, allocations: 185.4 kB / 1.258 GB, free: 184.8 MB / 0.9981 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.002606/0.9171, allocations: 1.318 MB / 1.259 GB, free: 184.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001412/0.9185, allocations: 0.5432 MB / 1.259 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.9185, allocations: 1.312 kB / 1.259 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006672/0.9192, allocations: 313.2 kB / 1.26 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.9205, allocations: 299.8 kB / 1.26 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009663/0.9301, allocations: 5.314 MB / 1.265 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9304, allocations: 0.8607 MB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004163/0.9308, allocations: 111.9 kB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.931, allocations: 166.1 kB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.931, allocations: 0 / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.964/1.895, allocations: 16.55 MB / 1.282 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/1.895, allocations: 305.3 kB / 1.283 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/4.946, allocations: 5.188 kB / 1.283 GB, free: 175.8 MB / 0.9981 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