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.001384/0.001384, allocations: 111 kB / 16.46 MB, free: 6.453 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.001512/0.001512, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.383/1.383, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.985/2.985, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.001954/0.001954, allocations: 67.88 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3234, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.204/0.5274, allocations: 174.5 MB / 1.491 GB, free: 4.191 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007038/0.5344, allocations: 4.312 MB / 1.495 GB, free: 15.87 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008228/0.5352, allocations: 27.75 kB / 1.495 GB, free: 15.84 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00119/0.5364, allocations: 366 kB / 1.496 GB, free: 15.48 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.5393, allocations: 1.023 MB / 1.497 GB, free: 14.46 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.5417, allocations: 0.8309 MB / 1.498 GB, free: 13.63 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.5437, allocations: 1.302 MB / 1.499 GB, free: 12.32 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.5445, allocations: 399.4 kB / 1.499 GB, free: 11.93 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.5461, allocations: 0.7434 MB / 1.5 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.5474, allocations: 476.7 kB / 1.5 GB, free: 10.72 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001436/0.5475, allocations: 52 kB / 1.5 GB, free: 10.67 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.5494, allocations: 0.9393 MB / 1.501 GB, free: 9.727 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.5498, allocations: 219.3 kB / 1.502 GB, free: 9.512 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.5503, allocations: 330.5 kB / 1.502 GB, free: 9.188 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.5523, allocations: 1.145 MB / 1.503 GB, free: 8.039 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5523, allocations: 0 / 1.503 GB, free: 8.039 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5523, allocations: 0 / 1.503 GB, free: 8.039 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.213e-05/0.5524, allocations: 0 / 1.503 GB, free: 8.039 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.002067/0.5544, allocations: 0.965 MB / 1.504 GB, free: 7.02 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5545, allocations: 11.98 kB / 1.504 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.5546, allocations: 82.53 kB / 1.504 GB, free: 6.918 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.5564, allocations: 275.2 kB / 1.504 GB, free: 6.648 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5575, allocations: 0.4939 MB / 1.505 GB, free: 6.117 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.5575, allocations: 29 kB / 1.505 GB, free: 6.09 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.5576, allocations: 44 kB / 1.505 GB, free: 6.047 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.559, allocations: 0.6146 MB / 1.505 GB, free: 5.406 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.559, allocations: 0 / 1.505 GB, free: 5.406 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.5591, allocations: 16 kB / 1.505 GB, free: 5.391 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/0.5591, allocations: 25 kB / 1.506 GB, free: 5.367 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.5606, allocations: 0.5464 MB / 1.506 GB, free: 4.82 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.004449/0.5651, allocations: 2.269 MB / 1.508 GB, free: 2.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.5661, allocations: 278.3 kB / 1.509 GB, free: 2.145 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005664/0.5666, allocations: 160.7 kB / 1.509 GB, free: 1.984 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.5667, allocations: 4 kB / 1.509 GB, free: 1.98 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.5667, allocations: 42.5 kB / 1.509 GB, free: 1.93 MB / 1.201 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.5667, allocations: 0 / 1.509 GB, free: 1.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=11): time 0.005424/0.5721, allocations: 1.089 MB / 1.51 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.5722, allocations: 89.09 kB / 1.51 GB, free: 0.707 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007724/0.573, allocations: 0.5534 MB / 1.51 GB, free: 148 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.573, allocations: 33.7 kB / 1.51 GB, free: 108 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.5733, allocations: 300.1 kB / 1.511 GB, free: 15.81 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.5734, allocations: 43.62 kB / 1.511 GB, free: 15.77 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.5735, allocations: 69.55 kB / 1.511 GB, free: 15.69 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5737, allocations: 354.8 kB / 1.511 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006334/0.5743, allocations: 187.8 kB / 1.511 GB, free: 15.15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.575, allocations: 269.3 kB / 1.512 GB, free: 14.86 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.5762, allocations: 410.5 kB / 1.512 GB, free: 14.43 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5762, allocations: 0 / 1.512 GB, free: 14.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002808/0.579, allocations: 0.7202 MB / 1.513 GB, free: 13.7 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5791, allocations: 11.98 kB / 1.513 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.5791, allocations: 4 kB / 1.513 GB, free: 13.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000672/0.5797, allocations: 188.7 kB / 1.513 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.5801, allocations: 63.94 kB / 1.513 GB, free: 13.43 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.5844, allocations: 2.241 MB / 1.515 GB, free: 11.05 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.5851, allocations: 79.62 kB / 1.515 GB, free: 10.97 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/0.5851, allocations: 11.98 kB / 1.515 GB, free: 10.96 MB / 1.217 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.0003072/0.5854, allocations: 195.7 kB / 1.515 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5856, allocations: 55.61 kB / 1.515 GB, free: 10.71 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.5857, allocations: 55.98 kB / 1.516 GB, free: 10.65 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5857, allocations: 0 / 1.516 GB, free: 10.65 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5857, allocations: 7.922 kB / 1.516 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5857, allocations: 0 / 1.516 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.589, allocations: 1.125 MB / 1.517 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.589, allocations: 0 / 1.517 GB, free: 9.449 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.5893, allocations: 40.02 kB / 1.517 GB, free: 9.41 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.5898, allocations: 176.8 kB / 1.517 GB, free: 9.234 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5898, allocations: 11.98 kB / 1.517 GB, free: 9.223 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003926/0.5938, allocations: 2.191 MB / 1.519 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5938, allocations: 0 / 1.519 GB, free: 6.887 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.5964, allocations: 0.7004 MB / 1.52 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003086/0.5967, allocations: 172.8 kB / 1.52 GB, free: 5.973 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.231e-05/0.5968, allocations: 3.938 kB / 1.52 GB, free: 5.969 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.5975, allocations: 57.86 kB / 1.52 GB, free: 5.914 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.5975, allocations: 11.98 kB / 1.52 GB, free: 5.902 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.662e-05/0.5976, allocations: 15.98 kB / 1.52 GB, free: 5.887 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005258/0.5981, allocations: 398.8 kB / 1.52 GB, free: 5.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5981, allocations: 0 / 1.52 GB, free: 5.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006896/0.5988, allocations: 183.7 kB / 1.52 GB, free: 5.32 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.003118/0.6019, allocations: 1.304 MB / 1.522 GB, free: 3.98 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001644/0.6035, allocations: 0.5169 MB / 1.522 GB, free: 3.453 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.6036, allocations: 4 kB / 1.522 GB, free: 3.449 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.6043, allocations: 302.9 kB / 1.523 GB, free: 3.141 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.6059, allocations: 303.8 kB / 1.523 GB, free: 2.852 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.6186, allocations: 5.069 MB / 1.528 GB, free: 13.62 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/0.6191, allocations: 0.8697 MB / 1.529 GB, free: 12.72 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004607/0.6196, allocations: 104.5 kB / 1.529 GB, free: 12.61 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.6198, allocations: 163.4 kB / 1.529 GB, free: 12.46 MB / 1.232 GB Notification: Performance of SimCode: time 1.102e-06/0.6198, allocations: 0 / 1.529 GB, free: 12.46 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05413/0.674, allocations: 16.97 MB / 1.545 GB, free: 11.84 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.47, allocations: 9.625 kB / 1.545 GB, free: 11.83 MB / 1.248 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: 18.678111312910914]