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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 215.9 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.348/1.348, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.96/2.96, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 66.17 kB / 1.17 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3105, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1789/0.4895, allocations: 150.8 MB / 1.493 GB, free: 8.59 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006365/0.4958, allocations: 4.018 MB / 1.496 GB, free: 4.562 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.4964, allocations: 35.75 kB / 1.496 GB, free: 4.527 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4974, allocations: 330 kB / 1.497 GB, free: 4.203 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002368/0.4998, allocations: 1.042 MB / 1.498 GB, free: 3.156 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002144/0.5019, allocations: 0.8358 MB / 1.499 GB, free: 2.324 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001798/0.5037, allocations: 1.311 MB / 1.5 GB, free: 1.012 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005957/0.5043, allocations: 372 kB / 1.5 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.5057, allocations: 0.7511 MB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.5069, allocations: 482.4 kB / 1.501 GB, free: 15.42 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.5071, allocations: 55.98 kB / 1.502 GB, free: 15.37 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.5085, allocations: 0.7638 MB / 1.502 GB, free: 14.6 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/0.5088, allocations: 215.3 kB / 1.502 GB, free: 14.39 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003457/0.5091, allocations: 278.8 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.5108, allocations: 1.125 MB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5108, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5108, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.5108, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 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.001648/0.5124, allocations: 0.8897 MB / 1.505 GB, free: 12.07 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5125, allocations: 12.03 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.063e-05/0.5125, allocations: 9 kB / 1.505 GB, free: 12.05 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.891e-05/0.5126, allocations: 90.47 kB / 1.505 GB, free: 11.95 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.5142, allocations: 263.3 kB / 1.505 GB, free: 11.69 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.5151, allocations: 438.6 kB / 1.505 GB, free: 11.24 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.5152, allocations: 33 kB / 1.506 GB, free: 11.2 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.5153, allocations: 39.94 kB / 1.506 GB, free: 11.16 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.5167, allocations: 0.8907 MB / 1.506 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.5167, allocations: 3.938 kB / 1.506 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.828e-05/0.5167, allocations: 19.98 kB / 1.506 GB, free: 10.16 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.5168, allocations: 24.94 kB / 1.506 GB, free: 10.14 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.5182, allocations: 0.5503 MB / 1.507 GB, free: 9.586 MB / 1.201 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.003941/0.5221, allocations: 1.903 MB / 1.509 GB, free: 7.609 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009018/0.523, allocations: 274.3 kB / 1.509 GB, free: 7.332 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.5235, allocations: 160.7 kB / 1.509 GB, free: 7.172 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.5235, allocations: 0 / 1.509 GB, free: 7.172 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.5236, allocations: 42.56 kB / 1.509 GB, free: 7.121 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.5236, allocations: 0 / 1.509 GB, free: 7.121 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.00508/0.5286, allocations: 1.009 MB / 1.51 GB, free: 6.102 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.5287, allocations: 81.05 kB / 1.51 GB, free: 6.004 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007313/0.5294, allocations: 0.5496 MB / 1.511 GB, free: 5.441 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.5295, allocations: 29.7 kB / 1.511 GB, free: 5.406 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.5297, allocations: 316 kB / 1.511 GB, free: 5.094 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.5298, allocations: 39.64 kB / 1.511 GB, free: 5.055 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.5299, allocations: 65.64 kB / 1.511 GB, free: 4.984 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5301, allocations: 354.8 kB / 1.512 GB, free: 4.629 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005782/0.5306, allocations: 191.8 kB / 1.512 GB, free: 4.441 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006345/0.5313, allocations: 295 kB / 1.512 GB, free: 4.113 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5324, allocations: 406.5 kB / 1.513 GB, free: 3.688 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5324, allocations: 4 kB / 1.513 GB, free: 3.684 MB / 1.201 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002658/0.535, allocations: 0.7289 MB / 1.513 GB, free: 2.945 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.535, allocations: 8 kB / 1.513 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5351, allocations: 3.938 kB / 1.513 GB, free: 2.934 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006289/0.5357, allocations: 184.8 kB / 1.513 GB, free: 2.75 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003676/0.536, allocations: 67.89 kB / 1.513 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.54, allocations: 2.103 MB / 1.516 GB, free: 476 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006471/0.5406, allocations: 79.83 kB / 1.516 GB, free: 396 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.5406, allocations: 8 kB / 1.516 GB, free: 388 kB / 1.201 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.0003171/0.541, allocations: 189.8 kB / 1.516 GB, free: 188 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5411, allocations: 59.64 kB / 1.516 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.5412, allocations: 52.05 kB / 1.516 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.5412, allocations: 0 / 1.516 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5412, allocations: 0 / 1.516 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.5412, allocations: 3.984 kB / 1.516 GB, free: 72 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.5443, allocations: 1.042 MB / 1.517 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5443, allocations: 0 / 1.517 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.5445, allocations: 43.89 kB / 1.517 GB, free: 14.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005553/0.5451, allocations: 180.8 kB / 1.517 GB, free: 14.75 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.5451, allocations: 7.984 kB / 1.517 GB, free: 14.74 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/0.5488, allocations: 2.06 MB / 1.519 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5488, allocations: 0 / 1.519 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.5513, allocations: 0.7043 MB / 1.52 GB, free: 11.83 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.5516, allocations: 91.66 kB / 1.52 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.5516, allocations: 3.938 kB / 1.52 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.5522, allocations: 45.38 kB / 1.52 GB, free: 11.69 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.5523, allocations: 23.97 kB / 1.52 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.5523, allocations: 15.97 kB / 1.52 GB, free: 11.65 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004942/0.5528, allocations: 394.8 kB / 1.52 GB, free: 11.27 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.5528, allocations: 3.938 kB / 1.52 GB, free: 11.27 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006536/0.5535, allocations: 183.7 kB / 1.521 GB, free: 11.09 MB / 1.217 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.003008/0.5565, allocations: 1.298 MB / 1.522 GB, free: 9.75 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00155/0.558, allocations: 0.5113 MB / 1.522 GB, free: 9.227 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.558, allocations: 0 / 1.522 GB, free: 9.227 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.5587, allocations: 298.9 kB / 1.523 GB, free: 8.922 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.5601, allocations: 322.2 kB / 1.523 GB, free: 8.617 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.5715, allocations: 5.069 MB / 1.528 GB, free: 3.391 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.5718, allocations: 264 kB / 1.528 GB, free: 3.105 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004176/0.5722, allocations: 104.5 kB / 1.528 GB, free: 3.004 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002383/0.5724, allocations: 167.4 kB / 1.528 GB, free: 2.84 MB / 1.217 GB Notification: Performance of SimCode: time 1.162e-06/0.5724, allocations: 4 kB / 1.528 GB, free: 2.836 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04665/0.6191, allocations: 17.88 MB / 1.546 GB, free: 1.363 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.8, allocations: 10.25 kB / 1.546 GB, free: 1.355 MB / 1.232 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.097809311002493]