Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00123/0.00123, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001392/0.001392, allocations: 211.4 kB / 22.25 MB, free: 5.086 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.315/1.315, allocations: 230.6 MB / 256 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 179] 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.819/2.819, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_12_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.001878/0.001878, allocations: 70.7 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2768, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.05178/0.3286, allocations: 50.95 MB / 1.376 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.3465, allocations: 12.77 MB / 1.388 GB, free: 2.035 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.3487, allocations: 107.1 kB / 1.388 GB, free: 1.93 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.3507, allocations: 0.7838 MB / 1.389 GB, free: 1.141 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.3555, allocations: 1.969 MB / 1.391 GB, free: 15.16 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.3589, allocations: 1.424 MB / 1.392 GB, free: 13.75 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004234/0.3631, allocations: 3.323 MB / 1.396 GB, free: 10.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.3645, allocations: 0.9737 MB / 1.397 GB, free: 9.41 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003228/0.3677, allocations: 1.544 MB / 1.398 GB, free: 7.871 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.3691, allocations: 0.9602 MB / 1.399 GB, free: 6.906 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.3693, allocations: 96 kB / 1.399 GB, free: 6.812 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.3714, allocations: 1.162 MB / 1.4 GB, free: 5.648 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.3717, allocations: 310.6 kB / 1.4 GB, free: 5.344 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.3724, allocations: 0.6762 MB / 1.401 GB, free: 4.664 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002662/0.3751, allocations: 2.074 MB / 1.403 GB, free: 2.582 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3751, allocations: 0 / 1.403 GB, free: 2.582 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3751, allocations: 0 / 1.403 GB, free: 2.582 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.3751, allocations: 0 / 1.403 GB, free: 2.582 MB / 1.092 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.0024/0.3775, allocations: 1.675 MB / 1.405 GB, free: 0.8672 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3775, allocations: 11.97 kB / 1.405 GB, free: 0.8555 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001452/0.3777, allocations: 135.4 kB / 1.405 GB, free: 0.7148 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006017/0.3783, allocations: 227.9 kB / 1.405 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.3802, allocations: 1.029 MB / 1.406 GB, free: 15.41 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.3802, allocations: 62.12 kB / 1.406 GB, free: 15.36 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.3804, allocations: 84 kB / 1.406 GB, free: 15.27 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.3819, allocations: 1.011 MB / 1.407 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.382, allocations: 7.938 kB / 1.407 GB, free: 14.17 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.382, allocations: 39.94 kB / 1.407 GB, free: 14.13 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.3821, allocations: 24 kB / 1.407 GB, free: 14.11 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3834, allocations: 0.6438 MB / 1.408 GB, free: 13.46 MB / 1.107 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.004825/0.3882, allocations: 4.674 MB / 1.413 GB, free: 8.523 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.3892, allocations: 378.5 kB / 1.413 GB, free: 8.145 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004592/0.3897, allocations: 200.7 kB / 1.413 GB, free: 7.945 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.3901, allocations: 99.92 kB / 1.413 GB, free: 7.848 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.3901, allocations: 34.56 kB / 1.413 GB, free: 7.805 MB / 1.107 GB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.3901, allocations: 0 / 1.413 GB, free: 7.805 MB / 1.107 GB Notification: Performance of matching and sorting (n=29): time 0.002498/0.3926, allocations: 0.8595 MB / 1.414 GB, free: 6.93 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3926, allocations: 55.34 kB / 1.414 GB, free: 6.863 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.3937, allocations: 0.9832 MB / 1.415 GB, free: 5.867 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.3938, allocations: 33.7 kB / 1.415 GB, free: 5.828 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/0.3942, allocations: 0.6017 MB / 1.416 GB, free: 5.223 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.716e-05/0.3943, allocations: 107.1 kB / 1.416 GB, free: 5.117 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.3945, allocations: 114 kB / 1.416 GB, free: 5 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3946, allocations: 330 kB / 1.416 GB, free: 4.672 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.3951, allocations: 196.8 kB / 1.416 GB, free: 4.477 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.3958, allocations: 405.7 kB / 1.417 GB, free: 3.996 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.3969, allocations: 0.606 MB / 1.417 GB, free: 3.301 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3969, allocations: 0 / 1.417 GB, free: 3.301 MB / 1.107 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00149/0.3984, allocations: 0.7533 MB / 1.418 GB, free: 2.531 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3984, allocations: 8 kB / 1.418 GB, free: 2.523 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3984, allocations: 8.094 kB / 1.418 GB, free: 2.516 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.399, allocations: 158.4 kB / 1.418 GB, free: 2.352 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.3995, allocations: 151.8 kB / 1.418 GB, free: 2.203 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.4007, allocations: 1.712 MB / 1.42 GB, free: 424 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.4012, allocations: 87.47 kB / 1.42 GB, free: 336 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.4013, allocations: 31.98 kB / 1.42 GB, free: 304 kB / 1.107 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.000368/0.4017, allocations: 270.5 kB / 1.42 GB, free: 24 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4018, allocations: 123.2 kB / 1.421 GB, free: 15.9 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001656/0.4035, allocations: 0.7236 MB / 1.421 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.4035, allocations: 11.94 kB / 1.421 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4035, allocations: 0 / 1.421 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.4035, allocations: 3.984 kB / 1.421 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.4063, allocations: 1.608 MB / 1.423 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4063, allocations: 0 / 1.423 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.4067, allocations: 96.08 kB / 1.423 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00052/0.4072, allocations: 154.5 kB / 1.423 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4072, allocations: 11.98 kB / 1.423 GB, free: 13.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.4083, allocations: 1.712 MB / 1.425 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4083, allocations: 4.031 kB / 1.425 GB, free: 11.4 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4097, allocations: 0.7886 MB / 1.426 GB, free: 10.57 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.4101, allocations: 175.1 kB / 1.426 GB, free: 10.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.4102, allocations: 19.92 kB / 1.426 GB, free: 10.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005253/0.4107, allocations: 43.95 kB / 1.426 GB, free: 10.34 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.4108, allocations: 31.89 kB / 1.426 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.4108, allocations: 23.97 kB / 1.426 GB, free: 10.28 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007868/0.4116, allocations: 0.658 MB / 1.427 GB, free: 9.617 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4116, allocations: 0 / 1.427 GB, free: 9.617 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009352/0.4126, allocations: 386.9 kB / 1.427 GB, free: 9.238 MB / 1.123 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.002245/0.4148, allocations: 1.615 MB / 1.428 GB, free: 7.57 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.4162, allocations: 0.5437 MB / 1.429 GB, free: 7.027 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4162, allocations: 0 / 1.429 GB, free: 7.027 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.4169, allocations: 284.1 kB / 1.429 GB, free: 6.75 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.4189, allocations: 0.5199 MB / 1.43 GB, free: 6.242 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.4291, allocations: 7.342 MB / 1.437 GB, free: 14.56 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.4298, allocations: 1.103 MB / 1.438 GB, free: 13.43 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000544/0.4303, allocations: 189.3 kB / 1.438 GB, free: 13.24 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.4308, allocations: 419.3 kB / 1.439 GB, free: 12.83 MB / 1.139 GB Notification: Performance of SimCode: time 6.01e-07/0.4308, allocations: 0 / 1.439 GB, free: 12.83 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06427/0.4951, allocations: 30.05 MB / 1.468 GB, free: 15.21 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.77, allocations: 6.188 kB / 1.468 GB, free: 15.21 MB / 1.17 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.63073779293336]