Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.001483/0.001483, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001614/0.001614, allocations: 219.3 kB / 22.26 MB, free: 5.207 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.335/1.335, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 179] 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.962/2.962, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",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.001835/0.001835, allocations: 66.23 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2997, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05165/0.3514, allocations: 50.96 MB / 1.403 GB, free: 5.281 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01866/0.37, allocations: 12.76 MB / 1.415 GB, free: 8.484 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.3721, allocations: 111.1 kB / 1.415 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.374, allocations: 0.7877 MB / 1.416 GB, free: 7.582 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.3788, allocations: 1.962 MB / 1.418 GB, free: 5.613 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.3822, allocations: 1.429 MB / 1.419 GB, free: 4.195 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004386/0.3866, allocations: 3.318 MB / 1.423 GB, free: 0.8711 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.388, allocations: 0.9737 MB / 1.423 GB, free: 15.86 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003786/0.3918, allocations: 1.534 MB / 1.425 GB, free: 14.33 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.3933, allocations: 0.9642 MB / 1.426 GB, free: 13.36 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001472/0.3934, allocations: 96 kB / 1.426 GB, free: 13.27 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.3958, allocations: 1.162 MB / 1.427 GB, free: 12.11 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000336/0.3961, allocations: 310.6 kB / 1.427 GB, free: 11.8 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0007491/0.3969, allocations: 0.68 MB / 1.428 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.3998, allocations: 2.074 MB / 1.43 GB, free: 9.035 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3998, allocations: 4 kB / 1.43 GB, free: 9.031 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3998, allocations: 0 / 1.43 GB, free: 9.031 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.3999, allocations: 0 / 1.43 GB, free: 9.031 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002658/0.4025, allocations: 1.667 MB / 1.432 GB, free: 7.324 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.4026, allocations: 11.97 kB / 1.432 GB, free: 7.312 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.4027, allocations: 135.4 kB / 1.432 GB, free: 7.172 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006432/0.4034, allocations: 227.9 kB / 1.432 GB, free: 6.949 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.4053, allocations: 1.029 MB / 1.433 GB, free: 5.871 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.4054, allocations: 74.12 kB / 1.433 GB, free: 5.801 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.4055, allocations: 84 kB / 1.433 GB, free: 5.719 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001689/0.4072, allocations: 1.003 MB / 1.434 GB, free: 4.633 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4072, allocations: 3.938 kB / 1.434 GB, free: 4.629 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.192e-05/0.4073, allocations: 36 kB / 1.434 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.4073, allocations: 24 kB / 1.434 GB, free: 4.57 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.4087, allocations: 0.6516 MB / 1.435 GB, free: 3.918 MB / 1.123 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.005571/0.4143, allocations: 4.685 MB / 1.44 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.4154, allocations: 374.5 kB / 1.44 GB, free: 14.59 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/0.4159, allocations: 208.7 kB / 1.44 GB, free: 14.38 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003989/0.4163, allocations: 103.9 kB / 1.44 GB, free: 14.28 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4163, allocations: 38.56 kB / 1.44 GB, free: 14.23 MB / 1.139 GB Notification: Performance of pre-optimization done (n=29): time 2.184e-06/0.4163, allocations: 0 / 1.44 GB, free: 14.23 MB / 1.139 GB Notification: Performance of matching and sorting (n=29): time 0.0026/0.4189, allocations: 0.8466 MB / 1.441 GB, free: 13.37 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4189, allocations: 59.34 kB / 1.441 GB, free: 13.3 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.4202, allocations: 0.9832 MB / 1.442 GB, free: 12.3 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.4202, allocations: 37.64 kB / 1.442 GB, free: 12.26 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004918/0.4207, allocations: 0.594 MB / 1.443 GB, free: 11.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4208, allocations: 115 kB / 1.443 GB, free: 11.55 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.421, allocations: 110.1 kB / 1.443 GB, free: 11.44 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4212, allocations: 326 kB / 1.443 GB, free: 11.11 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.4217, allocations: 204.8 kB / 1.443 GB, free: 10.91 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006875/0.4224, allocations: 401.7 kB / 1.444 GB, free: 10.43 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.4235, allocations: 0.6067 MB / 1.444 GB, free: 9.734 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4235, allocations: 4 kB / 1.444 GB, free: 9.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001595/0.4251, allocations: 0.7528 MB / 1.445 GB, free: 8.961 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4251, allocations: 8 kB / 1.445 GB, free: 8.953 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.4251, allocations: 8 kB / 1.445 GB, free: 8.945 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/0.4257, allocations: 159 kB / 1.445 GB, free: 8.781 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.4263, allocations: 147.8 kB / 1.445 GB, free: 8.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.4276, allocations: 1.719 MB / 1.447 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.4281, allocations: 87.67 kB / 1.447 GB, free: 6.754 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.4282, allocations: 31.98 kB / 1.447 GB, free: 6.723 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,2), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003753/0.4286, allocations: 273.5 kB / 1.447 GB, free: 6.445 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.4287, allocations: 115.2 kB / 1.448 GB, free: 6.332 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.4304, allocations: 0.7198 MB / 1.448 GB, free: 5.59 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4304, allocations: 8.125 kB / 1.448 GB, free: 5.582 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4304, allocations: 4 kB / 1.448 GB, free: 5.578 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.4304, allocations: 3.984 kB / 1.448 GB, free: 5.574 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/0.4332, allocations: 1.62 MB / 1.45 GB, free: 3.883 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4332, allocations: 0 / 1.45 GB, free: 3.883 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.4336, allocations: 91.91 kB / 1.45 GB, free: 3.793 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.4341, allocations: 154.6 kB / 1.45 GB, free: 3.633 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.4341, allocations: 11.94 kB / 1.45 GB, free: 3.621 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.4353, allocations: 1.704 MB / 1.452 GB, free: 1.84 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4353, allocations: 8.016 kB / 1.452 GB, free: 1.832 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4368, allocations: 0.7888 MB / 1.453 GB, free: 1 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000357/0.4371, allocations: 175.1 kB / 1.453 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.4372, allocations: 8 kB / 1.453 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.4377, allocations: 43.95 kB / 1.453 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.555e-05/0.4378, allocations: 39.81 kB / 1.453 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.4379, allocations: 23.98 kB / 1.453 GB, free: 0.7148 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009069/0.4388, allocations: 0.6619 MB / 1.453 GB, free: 48 kB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.4388, allocations: 0 / 1.453 GB, free: 48 kB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009678/0.4397, allocations: 391 kB / 1.454 GB, free: 15.66 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,2), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/0.4421, allocations: 1.604 MB / 1.455 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.4435, allocations: 0.5321 MB / 1.456 GB, free: 13.47 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.4435, allocations: 4 kB / 1.456 GB, free: 13.47 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007288/0.4442, allocations: 272.8 kB / 1.456 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.4462, allocations: 0.5239 MB / 1.457 GB, free: 12.69 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.4573, allocations: 7.357 MB / 1.464 GB, free: 4.984 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000758/0.4581, allocations: 1.107 MB / 1.465 GB, free: 3.852 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006058/0.4587, allocations: 192.1 kB / 1.465 GB, free: 3.66 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.4591, allocations: 423.3 kB / 1.466 GB, free: 3.246 MB / 1.154 GB Notification: Performance of SimCode: time 6.21e-07/0.4591, allocations: 0 / 1.466 GB, free: 3.246 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07057/0.5297, allocations: 30.03 MB / 1.495 GB, free: 5.602 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.77, allocations: 5.203 kB / 1.495 GB, free: 5.598 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.889421300962567]