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.0007962/0.0007962, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007735/0.0007735, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8457/0.8457, allocations: 177.2 MB / 202.8 MB, free: 5.547 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.637/1.637, allocations: 377.8 MB / 0.6221 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.981 GB, free: 1.406 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.034e-05/2.18e-05, allocations: 2.281 kB / 0.981 GB, free: 1.402 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow): time 0.03226/0.03228, allocations: 45.58 MB / 1.025 GB, free: 3.66 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.4458/0.4781, allocations: 11.88 MB / 1.037 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.4807, allocations: 107.8 kB / 1.037 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.4829, allocations: 0.774 MB / 1.038 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.005389/0.4883, allocations: 1.995 MB / 1.04 GB, free: 15 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00327/0.4916, allocations: 1.436 MB / 1.041 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.005037/0.4966, allocations: 3.336 MB / 1.045 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.4985, allocations: 0.9579 MB / 1.045 GB, free: 14.13 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00411/0.5026, allocations: 1.931 MB / 1.047 GB, free: 13.9 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.5041, allocations: 0.7967 MB / 1.048 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.5043, allocations: 95.81 kB / 1.048 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.5062, allocations: 0.9032 MB / 1.049 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002772/0.5065, allocations: 317 kB / 1.049 GB, free: 13.63 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006134/0.5071, allocations: 462.5 kB / 1.05 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.5103, allocations: 2.027 MB / 1.052 GB, free: 13.19 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5103, allocations: 4 kB / 1.052 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5103, allocations: 1.188 kB / 1.052 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.832e-05/0.5103, allocations: 0 / 1.052 GB, free: 13.18 MB / 0.9323 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.002633/0.513, allocations: 1.667 MB / 1.053 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.513, allocations: 9.406 kB / 1.053 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.5132, allocations: 137.5 kB / 1.054 GB, free: 12.03 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.5137, allocations: 220.9 kB / 1.054 GB, free: 11.95 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.5153, allocations: 1.045 MB / 1.055 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.5154, allocations: 65.78 kB / 1.055 GB, free: 11.38 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.516e-05/0.5155, allocations: 83.88 kB / 1.055 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5168, allocations: 1.133 MB / 1.056 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5168, allocations: 9 kB / 1.056 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.946e-05/0.5168, allocations: 32.94 kB / 1.056 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.5169, allocations: 26.08 kB / 1.056 GB, free: 10.64 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009672/0.5178, allocations: 0.6535 MB / 1.057 GB, free: 10.46 MB / 0.9323 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.003683/0.5215, allocations: 3.923 MB / 1.061 GB, free: 7.617 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/0.5223, allocations: 374.5 kB / 1.061 GB, free: 7.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/0.5225, allocations: 199.5 kB / 1.061 GB, free: 7.441 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/0.5229, allocations: 104.1 kB / 1.061 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/0.5229, allocations: 42.14 kB / 1.061 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/0.5229, allocations: 0 / 1.061 GB, free: 7.375 MB / 0.9323 GB Notification: Performance of matching and sorting (n=29): time 0.001759/0.5246, allocations: 0.8495 MB / 1.062 GB, free: 7.102 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.5247, allocations: 63.33 kB / 1.062 GB, free: 7.031 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.5258, allocations: 0.9912 MB / 1.063 GB, free: 6.629 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.5259, allocations: 32.36 kB / 1.063 GB, free: 6.594 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.5263, allocations: 0.6018 MB / 1.064 GB, free: 6.121 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.5264, allocations: 101.5 kB / 1.064 GB, free: 6.043 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.5266, allocations: 114.8 kB / 1.064 GB, free: 5.98 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/0.5266, allocations: 328.3 kB / 1.064 GB, free: 5.664 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.527, allocations: 203.3 kB / 1.065 GB, free: 5.609 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.5274, allocations: 0.5457 MB / 1.065 GB, free: 5.129 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007228/0.5281, allocations: 0.6032 MB / 1.066 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.5281, allocations: 2.688 kB / 1.066 GB, free: 4.758 MB / 0.9323 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001349/0.5295, allocations: 0.7578 MB / 1.066 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.5295, allocations: 10.44 kB / 1.066 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.5295, allocations: 5.906 kB / 1.066 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005337/0.5301, allocations: 156.9 kB / 1.067 GB, free: 4.441 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.5304, allocations: 147.9 kB / 1.067 GB, free: 4.434 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/0.531, allocations: 1.723 MB / 1.068 GB, free: 2.805 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.5316, allocations: 95.22 kB / 1.068 GB, free: 2.754 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.5317, allocations: 30.34 kB / 1.068 GB, free: 2.75 MB / 0.9323 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.0004691/0.5321, allocations: 276.8 kB / 1.069 GB, free: 2.555 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5323, allocations: 111.9 kB / 1.069 GB, free: 2.496 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.5334, allocations: 0.7247 MB / 1.07 GB, free: 2.219 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5334, allocations: 9.375 kB / 1.07 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5334, allocations: 0 / 1.07 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.5335, allocations: 3.438 kB / 1.07 GB, free: 2.215 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.5355, allocations: 1.544 MB / 1.071 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/0.5356, allocations: 2.156 kB / 1.071 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.5358, allocations: 90.94 kB / 1.071 GB, free: 1.473 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002992/0.5361, allocations: 151.8 kB / 1.071 GB, free: 1.422 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.5362, allocations: 15.8 kB / 1.071 GB, free: 1.414 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005158/0.5367, allocations: 1.707 MB / 1.073 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5367, allocations: 2.562 kB / 1.073 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.5378, allocations: 0.7867 MB / 1.074 GB, free: 15.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.5382, allocations: 172.6 kB / 1.074 GB, free: 15.28 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.5383, allocations: 8.391 kB / 1.074 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003094/0.5386, allocations: 42.56 kB / 1.074 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.5386, allocations: 32.19 kB / 1.074 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.5387, allocations: 29.59 kB / 1.074 GB, free: 15.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007805/0.5395, allocations: 0.663 MB / 1.075 GB, free: 14.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5395, allocations: 0 / 1.075 GB, free: 14.98 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001115/0.5406, allocations: 386.5 kB / 1.075 GB, free: 14.88 MB / 0.948 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.001883/0.5425, allocations: 1.624 MB / 1.077 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.5436, allocations: 0.5298 MB / 1.077 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5436, allocations: 1 kB / 1.077 GB, free: 13.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.5441, allocations: 286 kB / 1.077 GB, free: 13.69 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/0.5458, allocations: 0.5232 MB / 1.078 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.5565, allocations: 7.329 MB / 1.085 GB, free: 9.738 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.557, allocations: 0.5117 MB / 1.086 GB, free: 9.594 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007809/0.5578, allocations: 195.6 kB / 1.086 GB, free: 9.539 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.5582, allocations: 418.8 kB / 1.086 GB, free: 9.219 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/0.5582, allocations: 0 / 1.086 GB, free: 9.219 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/0.6106, allocations: 31.9 MB / 1.117 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.716, allocations: 15.39 kB / 1.117 GB, free: 12.34 MB / 0.9636 GB " [Timeout remaining time 291] (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/jenkins/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: 12.572124146856368]