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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009942/0.0009941, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006268/0.006268, allocations: 172.3 kB / 16.26 MB, free: 6.676 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.706/2.706, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003359, allocations: 11.91 kB / 0.9029 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3244, allocations: 159.6 MB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1809/0.5054, allocations: 166.6 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00922/0.5146, allocations: 4.297 MB / 1.226 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.5157, allocations: 19.88 kB / 1.226 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.517, allocations: 302.5 kB / 1.226 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.5204, allocations: 0.9414 MB / 1.227 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.5231, allocations: 0.7196 MB / 1.228 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003055/0.5262, allocations: 1.797 MB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009958/0.5272, allocations: 402.4 kB / 1.23 GB, free: 5.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.529, allocations: 0.5796 MB / 1.23 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001588/0.5306, allocations: 456.4 kB / 1.231 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001643/0.5308, allocations: 27.88 kB / 1.231 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002696/0.5335, allocations: 1.002 MB / 1.232 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000409/0.5339, allocations: 179.5 kB / 1.232 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006684/0.5346, allocations: 324.2 kB / 1.232 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002182/0.5368, allocations: 1.126 MB / 1.233 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.5368, allocations: 0 / 1.233 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.033e-06/0.5368, allocations: 0 / 1.233 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.514e-05/0.5369, allocations: 0 / 1.233 GB, free: 1.543 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.002358/0.5392, allocations: 0.8454 MB / 1.234 GB, free: 0.6484 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.5393, allocations: 8.031 kB / 1.234 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002103/0.5395, allocations: 82.53 kB / 1.234 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.5419, allocations: 283.1 kB / 1.234 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.5429, allocations: 497.4 kB / 1.235 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.5432, allocations: 96.94 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.312e-05/0.5433, allocations: 40 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.5447, allocations: 0.6458 MB / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.5447, allocations: 0 / 1.236 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.5448, allocations: 16 kB / 1.236 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.202e-05/0.5448, allocations: 21 kB / 1.236 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.5464, allocations: 0.5855 MB / 1.236 GB, free: 14.31 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.004159/0.5506, allocations: 2.303 MB / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.5516, allocations: 314.3 kB / 1.239 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.5522, allocations: 188.9 kB / 1.239 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.5523, allocations: 3.938 kB / 1.239 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5523, allocations: 42.5 kB / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.5523, allocations: 0 / 1.239 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.005308/0.5576, allocations: 1.185 MB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.5577, allocations: 89.03 kB / 1.24 GB, free: 10 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006236/0.5583, allocations: 0.5495 MB / 1.241 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.5584, allocations: 29.7 kB / 1.241 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.5586, allocations: 303.5 kB / 1.241 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.5586, allocations: 35.45 kB / 1.241 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.035e-05/0.5587, allocations: 25.72 kB / 1.241 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5588, allocations: 362.8 kB / 1.242 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.5595, allocations: 207.8 kB / 1.242 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.5602, allocations: 289.8 kB / 1.242 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.5615, allocations: 450.9 kB / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5615, allocations: 0 / 1.242 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002879/0.5644, allocations: 0.7863 MB / 1.243 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5644, allocations: 8 kB / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5644, allocations: 0 / 1.243 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/0.5651, allocations: 196.7 kB / 1.243 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.5655, allocations: 75.89 kB / 1.244 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.5694, allocations: 2.116 MB / 1.246 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006834/0.5701, allocations: 95.45 kB / 1.246 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.5701, allocations: 8 kB / 1.246 GB, free: 4.27 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.0002584/0.5704, allocations: 189.8 kB / 1.246 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.5705, allocations: 51.38 kB / 1.246 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.5706, allocations: 48.03 kB / 1.246 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5706, allocations: 4 kB / 1.246 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.5706, allocations: 7.938 kB / 1.246 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5706, allocations: 0 / 1.246 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003224/0.5739, allocations: 1.195 MB / 1.247 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.5739, allocations: 0 / 1.247 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.5741, allocations: 43.95 kB / 1.247 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000547/0.5747, allocations: 192.7 kB / 1.247 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.5747, allocations: 0 / 1.247 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.5782, allocations: 2.069 MB / 1.249 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5782, allocations: 3.984 kB / 1.249 GB, free: 260 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5071/1.085, allocations: 0.7455 MB / 1.25 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002637/1.086, allocations: 172.4 kB / 1.25 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/1.086, allocations: 4.531 kB / 1.25 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006253/1.086, allocations: 63.5 kB / 1.25 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/1.086, allocations: 17.06 kB / 1.25 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.946e-05/1.086, allocations: 12.12 kB / 1.25 GB, free: 191.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000529/1.087, allocations: 398.7 kB / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.087, allocations: 0 / 1.251 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006796/1.088, allocations: 188.3 kB / 1.251 GB, free: 191.7 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.003079/1.091, allocations: 1.365 MB / 1.252 GB, free: 191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001581/1.092, allocations: 0.5644 MB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/1.092, allocations: 1.781 kB / 1.253 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007204/1.093, allocations: 319.5 kB / 1.253 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.095, allocations: 292.8 kB / 1.253 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.105, allocations: 5.478 MB / 1.259 GB, free: 188.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/1.106, allocations: 0.8653 MB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004768/1.106, allocations: 104.3 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/1.106, allocations: 165.7 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/1.106, allocations: 5.203 kB / 1.26 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/1.142, allocations: 15.91 MB / 1.275 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.142, allocations: 307.7 kB / 1.276 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.411, allocations: 7.562 kB / 1.276 GB, free: 184.4 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