Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.84/2.84, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 64.09 kB / 1.104 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.057/1.097, allocations: 50.15 MB / 1.318 GB, free: 3.789 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02248/1.119, allocations: 12.71 MB / 1.33 GB, free: 10.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003658/1.123, allocations: 81.44 kB / 1.33 GB, free: 10.65 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002866/1.126, allocations: 0.7868 MB / 1.331 GB, free: 10.17 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006812/1.133, allocations: 1.915 MB / 1.333 GB, free: 9.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005451/1.138, allocations: 1.377 MB / 1.334 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007225/1.145, allocations: 3.249 MB / 1.337 GB, free: 6.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/1.148, allocations: 1.042 MB / 1.338 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/1.152, allocations: 1.31 MB / 1.34 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/1.154, allocations: 0.9861 MB / 1.341 GB, free: 5.277 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002799/1.154, allocations: 96.38 kB / 1.341 GB, free: 5.277 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00303/1.157, allocations: 1.085 MB / 1.342 GB, free: 4.891 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004462/1.158, allocations: 305.6 kB / 1.342 GB, free: 4.703 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/1.159, allocations: 0.6725 MB / 1.343 GB, free: 4.293 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004109/1.163, allocations: 1.96 MB / 1.345 GB, free: 3.543 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.163, allocations: 1.906 kB / 1.345 GB, free: 3.543 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/1.163, allocations: 0 / 1.345 GB, free: 3.543 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.66e-05/1.163, allocations: 0 / 1.345 GB, free: 3.543 MB / 1.045 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.003344/1.166, allocations: 1.749 MB / 1.346 GB, free: 2.348 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.166, allocations: 9.625 kB / 1.346 GB, free: 2.348 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001766/1.167, allocations: 136.6 kB / 1.346 GB, free: 2.254 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/1.167, allocations: 215.9 kB / 1.347 GB, free: 2.168 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/1.17, allocations: 1.101 MB / 1.348 GB, free: 1.52 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/1.17, allocations: 69 kB / 1.348 GB, free: 1.488 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.17, allocations: 84.31 kB / 1.348 GB, free: 1.461 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/1.172, allocations: 1.003 MB / 1.349 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/1.172, allocations: 2.312 kB / 1.349 GB, free: 0.9258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/1.172, allocations: 38.22 kB / 1.349 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/1.172, allocations: 21.17 kB / 1.349 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/1.173, allocations: 0.6526 MB / 1.35 GB, free: 0.6914 MB / 1.045 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.006608/1.18, allocations: 4.726 MB / 1.354 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/1.181, allocations: 380.2 kB / 1.355 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/1.182, allocations: 204.9 kB / 1.355 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.183, allocations: 1.147 MB / 1.356 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/1.183, allocations: 34.02 kB / 1.356 GB, free: 11.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=29): time 4.428e-06/1.183, allocations: 3.984 kB / 1.356 GB, free: 11.43 MB / 1.061 GB Notification: Performance of matching and sorting (n=29): time 0.003073/1.186, allocations: 1.082 MB / 1.357 GB, free: 10.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.186, allocations: 55.34 kB / 1.357 GB, free: 10.8 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.187, allocations: 0.9806 MB / 1.358 GB, free: 10.4 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.054e-05/1.188, allocations: 35.8 kB / 1.358 GB, free: 10.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000536/1.188, allocations: 0.6006 MB / 1.359 GB, free: 9.887 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/1.188, allocations: 107.6 kB / 1.359 GB, free: 9.805 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/1.188, allocations: 112.5 kB / 1.359 GB, free: 9.742 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.189, allocations: 324.5 kB / 1.359 GB, free: 9.43 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/1.189, allocations: 198.9 kB / 1.359 GB, free: 9.379 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007787/1.19, allocations: 411.5 kB / 1.36 GB, free: 9.074 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/1.191, allocations: 0.592 MB / 1.36 GB, free: 8.684 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.191, allocations: 2.188 kB / 1.36 GB, free: 8.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001929/1.193, allocations: 0.7645 MB / 1.361 GB, free: 8.367 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.193, allocations: 11.38 kB / 1.361 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.193, allocations: 6.125 kB / 1.361 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007182/1.194, allocations: 156.3 kB / 1.361 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006185/1.195, allocations: 149.2 kB / 1.361 GB, free: 8.273 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/1.196, allocations: 1.719 MB / 1.363 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/1.197, allocations: 88.7 kB / 1.363 GB, free: 6.539 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/1.197, allocations: 32.31 kB / 1.363 GB, free: 6.531 MB / 1.061 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.0005541/1.197, allocations: 267.2 kB / 1.363 GB, free: 6.324 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/1.198, allocations: 119.8 kB / 1.363 GB, free: 6.258 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/1.199, allocations: 0.7198 MB / 1.364 GB, free: 5.836 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/1.199, allocations: 7.906 kB / 1.364 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.199, allocations: 0 / 1.364 GB, free: 5.832 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/1.199, allocations: 3.984 kB / 1.364 GB, free: 5.828 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/1.203, allocations: 1.639 MB / 1.366 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.203, allocations: 2.75 kB / 1.366 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004808/1.203, allocations: 85.81 kB / 1.366 GB, free: 4.645 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005907/1.204, allocations: 157.8 kB / 1.366 GB, free: 4.555 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/1.204, allocations: 9.188 kB / 1.366 GB, free: 4.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/1.205, allocations: 1.713 MB / 1.368 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.205, allocations: 2.656 kB / 1.368 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/1.207, allocations: 0.7709 MB / 1.368 GB, free: 2.363 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/1.207, allocations: 251.3 kB / 1.369 GB, free: 2.145 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.208, allocations: 11.2 kB / 1.369 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005629/1.208, allocations: 44.67 kB / 1.369 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.075e-05/1.208, allocations: 36.36 kB / 1.369 GB, free: 2.094 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.907e-05/1.208, allocations: 26.48 kB / 1.369 GB, free: 2.082 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001011/1.209, allocations: 0.6555 MB / 1.369 GB, free: 1.711 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.209, allocations: 0 / 1.369 GB, free: 1.711 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001271/1.211, allocations: 386.7 kB / 1.37 GB, free: 1.602 MB / 1.061 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.002869/1.213, allocations: 1.632 MB / 1.371 GB, free: 420 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001655/1.215, allocations: 0.5362 MB / 1.372 GB, free: 172 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.215, allocations: 7.938 kB / 1.372 GB, free: 164 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007766/1.216, allocations: 270 kB / 1.372 GB, free: 44 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/1.218, allocations: 0.5244 MB / 1.373 GB, free: 15.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.231, allocations: 7.325 MB / 1.38 GB, free: 11.04 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/1.232, allocations: 1.107 MB / 1.381 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001033/1.233, allocations: 190.7 kB / 1.381 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006743/1.234, allocations: 414.4 kB / 1.382 GB, free: 9.707 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/1.234, allocations: 0 / 1.382 GB, free: 9.707 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08127/1.315, allocations: 29.66 MB / 1.411 GB, free: 3.125 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.6, allocations: 0 / 1.411 GB, free: 3.125 MB / 1.092 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeZeroFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.08068041410297]