Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001478/0.001478, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001716/0.001716, allocations: 209.8 kB / 22.24 MB, free: 4.875 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.36/1.36, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.944/2.944, allocations: 0.4892 GB / 0.7943 GB, free: 35.79 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",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.001994/0.001994, allocations: 69.11 kB / 1.153 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.183/0.4965, allocations: 150.9 MB / 1.472 GB, free: 10.89 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006886/0.5034, allocations: 4.025 MB / 1.476 GB, free: 6.855 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005861/0.504, allocations: 31.75 kB / 1.476 GB, free: 6.824 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009768/0.5049, allocations: 322.1 kB / 1.477 GB, free: 6.508 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.5074, allocations: 1.042 MB / 1.478 GB, free: 5.461 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.5095, allocations: 0.8256 MB / 1.479 GB, free: 4.641 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.5112, allocations: 1.306 MB / 1.48 GB, free: 3.328 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006289/0.5118, allocations: 376 kB / 1.48 GB, free: 2.953 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.5133, allocations: 0.7434 MB / 1.481 GB, free: 2.207 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5143, allocations: 462 kB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.5145, allocations: 52 kB / 1.481 GB, free: 1.707 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.5158, allocations: 0.7443 MB / 1.482 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.516, allocations: 223.3 kB / 1.482 GB, free: 0.7422 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003225/0.5163, allocations: 274.8 kB / 1.483 GB, free: 484 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.5178, allocations: 1.121 MB / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5178, allocations: 0 / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5178, allocations: 0 / 1.484 GB, free: 15.35 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.5178, allocations: 0 / 1.484 GB, free: 15.35 MB / 1.186 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.00156/0.5194, allocations: 0.8974 MB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.5194, allocations: 8.031 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.5195, allocations: 90.52 kB / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/0.5211, allocations: 271.3 kB / 1.485 GB, free: 14.05 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.522, allocations: 434.6 kB / 1.485 GB, free: 13.6 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.522, allocations: 33 kB / 1.485 GB, free: 13.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.5221, allocations: 44 kB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.5235, allocations: 0.8868 MB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.5235, allocations: 3.938 kB / 1.486 GB, free: 12.54 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.191e-05/0.5236, allocations: 23.98 kB / 1.486 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.5236, allocations: 21 kB / 1.486 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.5251, allocations: 0.5425 MB / 1.487 GB, free: 11.95 MB / 1.186 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.003882/0.529, allocations: 1.892 MB / 1.489 GB, free: 9.992 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.5299, allocations: 270.3 kB / 1.489 GB, free: 9.719 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.5304, allocations: 172.6 kB / 1.489 GB, free: 9.547 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.5305, allocations: 8 kB / 1.489 GB, free: 9.539 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.5305, allocations: 34.5 kB / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.5305, allocations: 0 / 1.489 GB, free: 9.496 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.005036/0.5355, allocations: 1.017 MB / 1.49 GB, free: 8.469 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.5356, allocations: 77.11 kB / 1.49 GB, free: 8.375 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007299/0.5363, allocations: 0.5612 MB / 1.491 GB, free: 7.805 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.5364, allocations: 33.7 kB / 1.491 GB, free: 7.766 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.5366, allocations: 304.1 kB / 1.491 GB, free: 7.465 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.5367, allocations: 47.62 kB / 1.491 GB, free: 7.418 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.5368, allocations: 57.66 kB / 1.491 GB, free: 7.355 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002136/0.537, allocations: 358.8 kB / 1.492 GB, free: 6.996 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006036/0.5376, allocations: 183.8 kB / 1.492 GB, free: 6.816 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.5383, allocations: 295 kB / 1.492 GB, free: 6.488 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.5394, allocations: 409.5 kB / 1.492 GB, free: 6.059 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5394, allocations: 0 / 1.492 GB, free: 6.059 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002637/0.5421, allocations: 0.738 MB / 1.493 GB, free: 5.312 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5421, allocations: 8 kB / 1.493 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.5421, allocations: 0 / 1.493 GB, free: 5.305 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.5427, allocations: 180.7 kB / 1.493 GB, free: 5.125 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.5431, allocations: 71.94 kB / 1.493 GB, free: 5.055 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.5471, allocations: 2.108 MB / 1.495 GB, free: 2.832 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005471/0.5477, allocations: 79.67 kB / 1.495 GB, free: 2.754 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.5477, allocations: 12 kB / 1.495 GB, free: 2.742 MB / 1.186 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.000238/0.5479, allocations: 187.3 kB / 1.496 GB, free: 2.551 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.548, allocations: 55.61 kB / 1.496 GB, free: 2.496 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.5481, allocations: 59.97 kB / 1.496 GB, free: 2.438 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5481, allocations: 4 kB / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.5481, allocations: 0 / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5481, allocations: 0 / 1.496 GB, free: 2.434 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.5512, allocations: 1.046 MB / 1.497 GB, free: 1.328 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5512, allocations: 0 / 1.497 GB, free: 1.328 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.5514, allocations: 35.95 kB / 1.497 GB, free: 1.293 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005601/0.552, allocations: 180.8 kB / 1.497 GB, free: 1.113 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.552, allocations: 11.98 kB / 1.497 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003744/0.5557, allocations: 2.056 MB / 1.499 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5558, allocations: 0 / 1.499 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.5583, allocations: 0.7042 MB / 1.5 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.5585, allocations: 91.61 kB / 1.5 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.898e-05/0.5586, allocations: 4 kB / 1.5 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005543/0.5591, allocations: 53.91 kB / 1.5 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.5592, allocations: 15.97 kB / 1.5 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/0.5592, allocations: 11.98 kB / 1.5 GB, free: 14.03 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0004816/0.5597, allocations: 394.8 kB / 1.5 GB, free: 13.64 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5597, allocations: 0 / 1.5 GB, free: 13.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0007911/0.5605, allocations: 187.7 kB / 1.5 GB, free: 13.46 MB / 1.201 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.003186/0.5637, allocations: 1.304 MB / 1.502 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.5654, allocations: 0.514 MB / 1.502 GB, free: 11.59 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5654, allocations: 0 / 1.502 GB, free: 11.59 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007547/0.5662, allocations: 295 kB / 1.502 GB, free: 11.29 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5676, allocations: 311.8 kB / 1.503 GB, free: 10.99 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/0.5796, allocations: 5.084 MB / 1.508 GB, free: 5.754 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.58, allocations: 264 kB / 1.508 GB, free: 5.469 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.5804, allocations: 100.5 kB / 1.508 GB, free: 5.367 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000371/0.5808, allocations: 163.4 kB / 1.508 GB, free: 5.211 MB / 1.201 GB Notification: Performance of SimCode: time 7.21e-07/0.5808, allocations: 0 / 1.508 GB, free: 5.211 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/0.6413, allocations: 18.3 MB / 1.526 GB, free: 3.316 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.01, allocations: 7.969 kB / 1.526 GB, free: 3.312 MB / 1.217 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.094796211924404]