Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_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.001546/0.001546, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.439/2.439, allocations: 461.9 MB / 0.7347 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.44 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.23/0.2312, allocations: 157.4 MB / 1.053 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.15/0.3813, allocations: 171 MB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005035/0.3863, allocations: 4.294 MB / 1.224 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.3867, allocations: 19.88 kB / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007607/0.3875, allocations: 350 kB / 1.224 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.3892, allocations: 0.9954 MB / 1.225 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.3909, allocations: 0.8045 MB / 1.226 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.3921, allocations: 1.29 MB / 1.227 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005053/0.3926, allocations: 491.2 kB / 1.228 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.3935, allocations: 0.6655 MB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.3943, allocations: 460 kB / 1.229 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.3944, allocations: 52 kB / 1.229 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.3957, allocations: 0.9043 MB / 1.23 GB, free: 2.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.3959, allocations: 215.3 kB / 1.23 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002716/0.3961, allocations: 330.5 kB / 1.23 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3973, allocations: 1.126 MB / 1.232 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.3973, allocations: 3.938 kB / 1.232 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.92e-07/0.3973, allocations: 0 / 1.232 GB, free: 0.6133 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3973, allocations: 0 / 1.232 GB, free: 0.6133 MB / 0.9825 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.001382/0.3987, allocations: 0.9467 MB / 1.233 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.3987, allocations: 12.62 kB / 1.233 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.41e-05/0.3988, allocations: 86.52 kB / 1.233 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.4004, allocations: 266.9 kB / 1.233 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.4011, allocations: 489.4 kB / 1.233 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003073/0.4014, allocations: 84.94 kB / 1.233 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.4015, allocations: 40 kB / 1.233 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.4026, allocations: 0.6146 MB / 1.234 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4026, allocations: 3.938 kB / 1.234 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4027, allocations: 27.94 kB / 1.234 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.4027, allocations: 24.98 kB / 1.234 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.4041, allocations: 0.5581 MB / 1.235 GB, free: 13.36 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.003568/0.4077, allocations: 2.288 MB / 1.237 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000956/0.4086, allocations: 298.2 kB / 1.237 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.4092, allocations: 176.7 kB / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.4092, allocations: 0 / 1.237 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.4092, allocations: 34.56 kB / 1.237 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.4092, allocations: 0 / 1.237 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.004988/0.4142, allocations: 1.103 MB / 1.238 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.4143, allocations: 85.05 kB / 1.239 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/0.4148, allocations: 0.5459 MB / 1.239 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.4149, allocations: 33.7 kB / 1.239 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.415, allocations: 303.4 kB / 1.239 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.4151, allocations: 47.47 kB / 1.239 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4152, allocations: 61.53 kB / 1.239 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4153, allocations: 354.8 kB / 1.24 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005991/0.4159, allocations: 199.8 kB / 1.24 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.4165, allocations: 270.5 kB / 1.24 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4177, allocations: 414.7 kB / 1.241 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4177, allocations: 4 kB / 1.241 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002546/0.4202, allocations: 0.7355 MB / 1.241 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4203, allocations: 8 kB / 1.241 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4203, allocations: 0 / 1.241 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005749/0.4208, allocations: 188.8 kB / 1.242 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.4212, allocations: 71.88 kB / 1.242 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02245/0.4437, allocations: 2.239 MB / 1.244 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.4445, allocations: 79.55 kB / 1.244 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.4445, allocations: 11.98 kB / 1.244 GB, free: 3.414 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.0002536/0.4448, allocations: 195 kB / 1.244 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.4449, allocations: 51.38 kB / 1.244 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.445, allocations: 52.03 kB / 1.244 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.445, allocations: 4 kB / 1.244 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.445, allocations: 0 / 1.244 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.445, allocations: 0 / 1.244 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002967/0.448, allocations: 1.148 MB / 1.245 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.448, allocations: 7.938 kB / 1.245 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.4483, allocations: 39.89 kB / 1.245 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005123/0.4488, allocations: 184.7 kB / 1.246 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.4488, allocations: 4 kB / 1.246 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4215/0.8703, allocations: 2.181 MB / 1.248 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8704, allocations: 3.469 kB / 1.248 GB, free: 194.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.8729, allocations: 0.7101 MB / 1.248 GB, free: 194.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/0.8731, allocations: 164 kB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.015e-05/0.8732, allocations: 6.016 kB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.8738, allocations: 48.12 kB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.8738, allocations: 13.47 kB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.8739, allocations: 19.48 kB / 1.249 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004182/0.8743, allocations: 399.4 kB / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8743, allocations: 0 / 1.249 GB, free: 194 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005734/0.8749, allocations: 178.6 kB / 1.249 GB, free: 194 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.002749/0.8776, allocations: 1.336 MB / 1.25 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.8792, allocations: 0.5298 MB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.8792, allocations: 2.938 kB / 1.251 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006895/0.8799, allocations: 306 kB / 1.251 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.8811, allocations: 311.3 kB / 1.252 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00954/0.8907, allocations: 5.163 MB / 1.257 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.891, allocations: 0.8639 MB / 1.257 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003951/0.8914, allocations: 109 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.8916, allocations: 161.8 kB / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.8916, allocations: 0 / 1.258 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7258/1.617, allocations: 16.76 MB / 1.274 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.6/19.22, allocations: 13.02 kB / 1.274 GB, free: 186.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches