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.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.00186/0.00186, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.002184/0.002184, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.569/1.569, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.959/2.959, allocations: 476.7 MB / 0.7678 GB, free: 9.441 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_11_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.002114/0.002114, allocations: 59.91 kB / 1.113 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.002, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.233/1.235, allocations: 174.5 MB / 1.449 GB, free: 13.43 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007694/1.243, allocations: 4.315 MB / 1.454 GB, free: 9.105 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/1.244, allocations: 27.81 kB / 1.454 GB, free: 9.078 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/1.245, allocations: 369.9 kB / 1.454 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/1.248, allocations: 1.023 MB / 1.455 GB, free: 7.688 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002783/1.251, allocations: 0.8251 MB / 1.456 GB, free: 6.867 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002368/1.254, allocations: 1.306 MB / 1.457 GB, free: 5.559 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008987/1.255, allocations: 403.3 kB / 1.457 GB, free: 5.156 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/1.256, allocations: 0.7045 MB / 1.458 GB, free: 4.449 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/1.258, allocations: 484.8 kB / 1.459 GB, free: 3.977 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002341/1.258, allocations: 52 kB / 1.459 GB, free: 3.926 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00231/1.261, allocations: 0.9471 MB / 1.459 GB, free: 2.977 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004704/1.261, allocations: 215.3 kB / 1.46 GB, free: 2.766 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007955/1.262, allocations: 330.5 kB / 1.46 GB, free: 2.441 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/1.265, allocations: 1.141 MB / 1.461 GB, free: 1.297 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.265, allocations: 0 / 1.461 GB, free: 1.297 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.144e-06/1.265, allocations: 0 / 1.461 GB, free: 1.297 MB / 1.139 GB Notification: Performance of Transformations before backend: time 3.332e-05/1.265, allocations: 0 / 1.461 GB, free: 1.297 MB / 1.139 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.002516/1.268, allocations: 0.9766 MB / 1.462 GB, free: 276 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/1.268, allocations: 8.031 kB / 1.462 GB, free: 268 kB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.253e-05/1.268, allocations: 13 kB / 1.462 GB, free: 256 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/1.268, allocations: 86.52 kB / 1.462 GB, free: 160 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/1.27, allocations: 259.4 kB / 1.462 GB, free: 15.9 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/1.271, allocations: 0.4977 MB / 1.463 GB, free: 15.37 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/1.271, allocations: 33 kB / 1.463 GB, free: 15.34 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/1.271, allocations: 40 kB / 1.463 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/1.273, allocations: 0.6184 MB / 1.464 GB, free: 14.65 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.273, allocations: 4 kB / 1.464 GB, free: 14.65 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/1.273, allocations: 20 kB / 1.464 GB, free: 14.63 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-05/1.273, allocations: 20.98 kB / 1.464 GB, free: 14.61 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/1.274, allocations: 0.5503 MB / 1.464 GB, free: 14.05 MB / 1.154 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.00499/1.279, allocations: 2.273 MB / 1.466 GB, free: 11.65 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.28, allocations: 274.3 kB / 1.467 GB, free: 11.38 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/1.281, allocations: 160.7 kB / 1.467 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/1.281, allocations: 4 kB / 1.467 GB, free: 11.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/1.281, allocations: 42.5 kB / 1.467 GB, free: 11.16 MB / 1.154 GB Notification: Performance of pre-optimization done (n=11): time 2.495e-06/1.281, allocations: 0 / 1.467 GB, free: 11.16 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.005744/1.287, allocations: 1.092 MB / 1.468 GB, free: 10.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/1.287, allocations: 89.03 kB / 1.468 GB, free: 9.934 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008733/1.288, allocations: 0.5535 MB / 1.469 GB, free: 9.371 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/1.288, allocations: 29.7 kB / 1.469 GB, free: 9.336 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/1.288, allocations: 308.1 kB / 1.469 GB, free: 9.031 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/1.288, allocations: 35.69 kB / 1.469 GB, free: 8.996 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/1.288, allocations: 61.66 kB / 1.469 GB, free: 8.93 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.289, allocations: 358.8 kB / 1.469 GB, free: 8.57 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006789/1.289, allocations: 183.8 kB / 1.469 GB, free: 8.391 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007276/1.29, allocations: 270.3 kB / 1.47 GB, free: 8.094 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.291, allocations: 406.5 kB / 1.47 GB, free: 7.668 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/1.291, allocations: 0 / 1.47 GB, free: 7.668 MB / 1.154 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002977/1.294, allocations: 0.7254 MB / 1.471 GB, free: 6.934 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.294, allocations: 11.98 kB / 1.471 GB, free: 6.922 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.294, allocations: 0 / 1.471 GB, free: 6.922 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/1.295, allocations: 192.7 kB / 1.471 GB, free: 6.73 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004102/1.295, allocations: 67.94 kB / 1.471 GB, free: 6.664 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/1.3, allocations: 2.242 MB / 1.473 GB, free: 4.289 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/1.301, allocations: 75.69 kB / 1.473 GB, free: 4.215 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.815e-05/1.301, allocations: 12 kB / 1.473 GB, free: 4.203 MB / 1.154 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.0003438/1.301, allocations: 186.3 kB / 1.474 GB, free: 4.012 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/1.301, allocations: 59.61 kB / 1.474 GB, free: 3.953 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001384/1.301, allocations: 51.98 kB / 1.474 GB, free: 3.898 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/1.301, allocations: 7.984 kB / 1.474 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/1.301, allocations: 0 / 1.474 GB, free: 3.891 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.301, allocations: 4.125 kB / 1.474 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.305, allocations: 1.137 MB / 1.475 GB, free: 2.684 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.305, allocations: 0 / 1.475 GB, free: 2.684 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/1.305, allocations: 40.02 kB / 1.475 GB, free: 2.645 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000608/1.306, allocations: 180.7 kB / 1.475 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/1.306, allocations: 3.984 kB / 1.475 GB, free: 2.461 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004174/1.31, allocations: 2.183 MB / 1.477 GB, free: 140 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.31, allocations: 0 / 1.477 GB, free: 140 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/1.313, allocations: 0.6965 MB / 1.478 GB, free: 15.41 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/1.313, allocations: 180.8 kB / 1.478 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.313, allocations: 7.938 kB / 1.478 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006468/1.314, allocations: 48.77 kB / 1.478 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/1.314, allocations: 11.98 kB / 1.478 GB, free: 15.15 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/1.314, allocations: 15.92 kB / 1.478 GB, free: 15.14 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005585/1.315, allocations: 402.8 kB / 1.478 GB, free: 14.75 MB / 1.17 GB Notification: Performance of sort global known variables: time 2e-07/1.315, allocations: 0 / 1.478 GB, free: 14.75 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0007489/1.315, allocations: 179.8 kB / 1.479 GB, free: 14.57 MB / 1.17 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.003377/1.319, allocations: 1.293 MB / 1.48 GB, free: 13.24 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00182/1.321, allocations: 0.5243 MB / 1.48 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.321, allocations: 0 / 1.48 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008189/1.321, allocations: 299 kB / 1.481 GB, free: 12.4 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.323, allocations: 308.9 kB / 1.481 GB, free: 12.11 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.336, allocations: 5.078 MB / 1.486 GB, free: 6.871 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/1.336, allocations: 0.8697 MB / 1.487 GB, free: 5.973 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004763/1.337, allocations: 104.5 kB / 1.487 GB, free: 5.867 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/1.337, allocations: 167.4 kB / 1.487 GB, free: 5.703 MB / 1.17 GB Notification: Performance of SimCode: time 9.32e-07/1.337, allocations: 0 / 1.487 GB, free: 5.703 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/1.387, allocations: 17.01 MB / 1.504 GB, free: 5.078 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/14.39, allocations: 16.81 kB / 1.504 GB, free: 5.066 MB / 1.186 GB " [Timeout remaining time 285] (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 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.99203494604444]