Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001847/0.001847, allocations: 110.5 kB / 16.45 MB, free: 6.035 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.001882/0.001882, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.456/1.456, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.602/2.602, allocations: 443.5 MB / 0.7287 GB, free: 13.26 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002158/0.002158, allocations: 67.89 kB / 1.056 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8475, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2446/1.092, allocations: 191 MB / 1.399 GB, free: 8.504 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01042/1.103, allocations: 5.717 MB / 1.405 GB, free: 2.777 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/1.104, allocations: 43.75 kB / 1.405 GB, free: 2.734 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/1.106, allocations: 0.5903 MB / 1.406 GB, free: 2.141 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004689/1.111, allocations: 1.668 MB / 1.407 GB, free: 476 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00353/1.114, allocations: 1.213 MB / 1.408 GB, free: 15.26 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004195/1.118, allocations: 2.509 MB / 1.411 GB, free: 12.74 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/1.12, allocations: 0.8209 MB / 1.412 GB, free: 11.9 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002407/1.122, allocations: 1.066 MB / 1.413 GB, free: 10.83 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/1.125, allocations: 0.8813 MB / 1.414 GB, free: 9.949 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003445/1.125, allocations: 100 kB / 1.414 GB, free: 9.852 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/1.129, allocations: 1.61 MB / 1.415 GB, free: 8.238 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0007777/1.129, allocations: 0.4947 MB / 1.416 GB, free: 7.742 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.131, allocations: 0.6261 MB / 1.416 GB, free: 7.113 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003875/1.134, allocations: 2.11 MB / 1.418 GB, free: 4.996 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.134, allocations: 4 kB / 1.418 GB, free: 4.992 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.373e-06/1.134, allocations: 0 / 1.418 GB, free: 4.992 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.803e-05/1.135, allocations: 0 / 1.418 GB, free: 4.992 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003296/1.138, allocations: 1.513 MB / 1.42 GB, free: 3.422 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.138, allocations: 16.92 kB / 1.42 GB, free: 3.406 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/1.138, allocations: 139.2 kB / 1.42 GB, free: 3.262 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/1.14, allocations: 330.9 kB / 1.42 GB, free: 2.938 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.142, allocations: 0.8162 MB / 1.421 GB, free: 2.078 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/1.142, allocations: 62 kB / 1.421 GB, free: 2.016 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.142, allocations: 84 kB / 1.421 GB, free: 1.934 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/1.144, allocations: 1.078 MB / 1.422 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.144, allocations: 3.938 kB / 1.422 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/1.144, allocations: 36 kB / 1.422 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/1.144, allocations: 34 kB / 1.422 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/1.145, allocations: 0.8275 MB / 1.423 GB, free: 15.91 MB / 1.139 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.005922/1.151, allocations: 4.275 MB / 1.427 GB, free: 11.37 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006128/1.152, allocations: 350.7 kB / 1.428 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/1.152, allocations: 203.6 kB / 1.428 GB, free: 10.82 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/1.152, allocations: 101.1 kB / 1.428 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.152, allocations: 38.56 kB / 1.428 GB, free: 10.65 MB / 1.139 GB Notification: Performance of pre-optimization done (n=36): time 2.024e-06/1.152, allocations: 0 / 1.428 GB, free: 10.65 MB / 1.139 GB Notification: Performance of matching and sorting (n=38): time 0.002549/1.155, allocations: 1.366 MB / 1.429 GB, free: 9.234 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/1.155, allocations: 59.16 kB / 1.429 GB, free: 9.164 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.156, allocations: 0.9966 MB / 1.43 GB, free: 8.145 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/1.157, allocations: 37.7 kB / 1.43 GB, free: 8.102 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/1.157, allocations: 0.5002 MB / 1.431 GB, free: 7.598 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/1.157, allocations: 142.7 kB / 1.431 GB, free: 7.457 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002085/1.157, allocations: 126.2 kB / 1.431 GB, free: 7.328 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001654/1.157, allocations: 330 kB / 1.432 GB, free: 7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/1.158, allocations: 237.2 kB / 1.432 GB, free: 6.77 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/1.159, allocations: 423.8 kB / 1.432 GB, free: 6.277 MB / 1.139 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/1.161, allocations: 1.213 MB / 1.433 GB, free: 4.969 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.161, allocations: 4 kB / 1.433 GB, free: 4.965 MB / 1.139 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001391/1.162, allocations: 0.7738 MB / 1.434 GB, free: 4.184 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.162, allocations: 8 kB / 1.434 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.162, allocations: 11.88 kB / 1.434 GB, free: 4.164 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/1.163, allocations: 12 kB / 1.434 GB, free: 4.152 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/1.163, allocations: 139.8 kB / 1.434 GB, free: 4.016 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/1.163, allocations: 19.86 kB / 1.434 GB, free: 3.996 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007821/1.164, allocations: 56.05 kB / 1.434 GB, free: 3.941 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/1.164, allocations: 24 kB / 1.434 GB, free: 3.918 MB / 1.139 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004364/1.164, allocations: 309.5 kB / 1.435 GB, free: 3.605 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/1.165, allocations: 107.3 kB / 1.435 GB, free: 3.5 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/1.165, allocations: 113 kB / 1.435 GB, free: 3.387 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/1.165, allocations: 4 kB / 1.435 GB, free: 3.383 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.165, allocations: 0 / 1.435 GB, free: 3.383 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007832/1.166, allocations: 0.6791 MB / 1.436 GB, free: 2.617 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/1.168, allocations: 1.577 MB / 1.437 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/1.168, allocations: 4 kB / 1.437 GB, free: 0.9297 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/1.168, allocations: 83.89 kB / 1.437 GB, free: 0.8477 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/1.168, allocations: 8 kB / 1.437 GB, free: 0.8398 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.168, allocations: 11.94 kB / 1.437 GB, free: 0.8281 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.966e-06/1.168, allocations: 11.94 kB / 1.437 GB, free: 0.8164 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.168, allocations: 4 kB / 1.437 GB, free: 0.8125 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.17, allocations: 0.8342 MB / 1.438 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/1.17, allocations: 244.4 kB / 1.438 GB, free: 15.65 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/1.17, allocations: 19.94 kB / 1.438 GB, free: 15.63 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/1.171, allocations: 34.03 kB / 1.438 GB, free: 15.6 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/1.171, allocations: 35.91 kB / 1.438 GB, free: 15.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/1.171, allocations: 31.92 kB / 1.438 GB, free: 15.54 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001045/1.172, allocations: 0.7116 MB / 1.439 GB, free: 14.81 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.2e-07/1.172, allocations: 0 / 1.439 GB, free: 14.81 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008319/1.173, allocations: 255.9 kB / 1.439 GB, free: 14.56 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001907/1.175, allocations: 1.489 MB / 1.441 GB, free: 13.01 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0009545/1.176, allocations: 496.5 kB / 1.441 GB, free: 12.52 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.176, allocations: 0 / 1.441 GB, free: 12.52 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/1.176, allocations: 184 kB / 1.441 GB, free: 12.34 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/1.178, allocations: 0.6187 MB / 1.442 GB, free: 11.74 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.19, allocations: 7.636 MB / 1.449 GB, free: 3.73 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.191, allocations: 1.095 MB / 1.451 GB, free: 2.605 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001091/1.192, allocations: 244.3 kB / 1.451 GB, free: 2.363 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/1.193, allocations: 351.3 kB / 1.451 GB, free: 2.02 MB / 1.154 GB Notification: Performance of SimCode: time 2.004e-06/1.193, allocations: 3.938 kB / 1.451 GB, free: 2.016 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/1.27, allocations: 27.92 MB / 1.478 GB, free: 6.488 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/11.44, allocations: 13.89 kB / 1.478 GB, free: 6.477 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: 17.331449665594846]