Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.001302/0.001302, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001479/0.001479, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.875/2.875, allocations: 476.7 MB / 0.7714 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",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.002137/0.002137, allocations: 63.16 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 170 MB / 1.284 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2441/0.5609, allocations: 194.3 MB / 1.474 GB, free: 8.602 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01055/0.5715, allocations: 5.739 MB / 1.479 GB, free: 2.852 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.573, allocations: 59.44 kB / 1.48 GB, free: 2.793 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.5748, allocations: 0.5903 MB / 1.48 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.5795, allocations: 1.693 MB / 1.482 GB, free: 0.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.5842, allocations: 1.259 MB / 1.483 GB, free: 15.25 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00526/0.5895, allocations: 2.583 MB / 1.486 GB, free: 12.66 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00165/0.5912, allocations: 0.7084 MB / 1.486 GB, free: 11.94 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002894/0.5941, allocations: 1.094 MB / 1.487 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.5966, allocations: 0.873 MB / 1.488 GB, free: 9.969 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003752/0.597, allocations: 104 kB / 1.488 GB, free: 9.867 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003671/0.6007, allocations: 1.625 MB / 1.49 GB, free: 8.238 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009098/0.6016, allocations: 0.4985 MB / 1.49 GB, free: 7.738 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.603, allocations: 0.6183 MB / 1.491 GB, free: 7.117 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00451/0.6075, allocations: 2.11 MB / 1.493 GB, free: 5 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.6075, allocations: 0 / 1.493 GB, free: 5 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.174e-06/0.6075, allocations: 0 / 1.493 GB, free: 5 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.067e-05/0.6075, allocations: 0 / 1.493 GB, free: 5 MB / 1.186 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.003111/0.6107, allocations: 1.442 MB / 1.494 GB, free: 3.52 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6107, allocations: 16.02 kB / 1.494 GB, free: 3.504 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.436e-05/0.6107, allocations: 22 kB / 1.494 GB, free: 3.484 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.6109, allocations: 139.2 kB / 1.495 GB, free: 3.34 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002259/0.6132, allocations: 338.9 kB / 1.495 GB, free: 3.008 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/0.6151, allocations: 0.7402 MB / 1.496 GB, free: 2.238 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/0.6152, allocations: 69.94 kB / 1.496 GB, free: 2.172 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/0.6154, allocations: 87.94 kB / 1.496 GB, free: 2.086 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.6176, allocations: 1.071 MB / 1.497 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.6177, allocations: 0 / 1.497 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.6178, allocations: 39.98 kB / 1.497 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.6178, allocations: 34 kB / 1.497 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001755/0.6196, allocations: 0.8313 MB / 1.498 GB, free: 68 kB / 1.186 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.007254/0.6268, allocations: 4.209 MB / 1.502 GB, free: 11.59 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007374/0.6276, allocations: 354.7 kB / 1.502 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.6279, allocations: 200.7 kB / 1.502 GB, free: 11.04 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001681/0.6281, allocations: 27.97 kB / 1.502 GB, free: 11.01 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.365e-05/0.6281, allocations: 38.56 kB / 1.502 GB, free: 10.96 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.645e-06/0.6281, allocations: 7.938 kB / 1.502 GB, free: 10.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=38): time 0.003035/0.6311, allocations: 1.276 MB / 1.504 GB, free: 9.645 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.6312, allocations: 55.41 kB / 1.504 GB, free: 9.578 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.6329, allocations: 1.001 MB / 1.505 GB, free: 8.555 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.338e-05/0.633, allocations: 33.7 kB / 1.505 GB, free: 8.516 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/0.6335, allocations: 0.4963 MB / 1.505 GB, free: 8.016 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.6336, allocations: 150.7 kB / 1.505 GB, free: 7.867 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/0.6339, allocations: 122.2 kB / 1.505 GB, free: 7.742 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.6341, allocations: 330 kB / 1.506 GB, free: 7.414 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.6346, allocations: 241.2 kB / 1.506 GB, free: 7.176 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.6353, allocations: 423.8 kB / 1.506 GB, free: 6.688 MB / 1.201 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.002668/0.6379, allocations: 1.131 MB / 1.507 GB, free: 5.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6379, allocations: 3.938 kB / 1.507 GB, free: 5.473 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001626/0.6396, allocations: 0.7736 MB / 1.508 GB, free: 4.691 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6396, allocations: 7.938 kB / 1.508 GB, free: 4.684 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6396, allocations: 8 kB / 1.508 GB, free: 4.676 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.6396, allocations: 8 kB / 1.508 GB, free: 4.668 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.6402, allocations: 148.1 kB / 1.508 GB, free: 4.523 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.6402, allocations: 16.02 kB / 1.508 GB, free: 4.508 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.6412, allocations: 51.94 kB / 1.508 GB, free: 4.457 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.416e-05/0.6412, allocations: 24 kB / 1.508 GB, free: 4.434 MB / 1.201 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.0005806/0.6418, allocations: 313.6 kB / 1.509 GB, free: 4.117 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.642, allocations: 111.3 kB / 1.509 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.6422, allocations: 109 kB / 1.509 GB, free: 3.895 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.6422, allocations: 4 kB / 1.509 GB, free: 3.891 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.6422, allocations: 3.938 kB / 1.509 GB, free: 3.887 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008303/0.6431, allocations: 0.6789 MB / 1.51 GB, free: 3.121 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.6458, allocations: 1.555 MB / 1.511 GB, free: 1.469 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6458, allocations: 4 kB / 1.511 GB, free: 1.465 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.6462, allocations: 83.91 kB / 1.511 GB, free: 1.383 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.6463, allocations: 4 kB / 1.511 GB, free: 1.379 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.6463, allocations: 20.42 kB / 1.511 GB, free: 1.359 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/0.6463, allocations: 4 kB / 1.511 GB, free: 1.355 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6463, allocations: 15.94 kB / 1.511 GB, free: 1.34 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.6477, allocations: 0.8299 MB / 1.512 GB, free: 456 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005072/0.6482, allocations: 167.2 kB / 1.512 GB, free: 288 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.6484, allocations: 16 kB / 1.512 GB, free: 272 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007292/0.6491, allocations: 35.97 kB / 1.512 GB, free: 236 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.266e-05/0.6492, allocations: 39.83 kB / 1.512 GB, free: 196 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.6493, allocations: 31.98 kB / 1.512 GB, free: 164 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001235/0.6505, allocations: 0.7038 MB / 1.513 GB, free: 15.45 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6505, allocations: 3.938 kB / 1.513 GB, free: 15.44 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001025/0.6515, allocations: 259.9 kB / 1.513 GB, free: 15.19 MB / 1.217 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.001978/0.6535, allocations: 1.471 MB / 1.515 GB, free: 13.64 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001105/0.6546, allocations: 496.3 kB / 1.515 GB, free: 13.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/0.6546, allocations: 8 kB / 1.515 GB, free: 13.15 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003145/0.6549, allocations: 183.7 kB / 1.515 GB, free: 12.97 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.6583, allocations: 0.6221 MB / 1.516 GB, free: 12.36 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/0.6721, allocations: 7.64 MB / 1.524 GB, free: 4.34 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/0.6732, allocations: 1.099 MB / 1.525 GB, free: 3.211 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000964/0.6741, allocations: 248.4 kB / 1.525 GB, free: 2.965 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/0.6748, allocations: 339.3 kB / 1.525 GB, free: 2.633 MB / 1.217 GB Notification: Performance of SimCode: time 1.132e-06/0.6748, allocations: 4 kB / 1.525 GB, free: 2.629 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07245/0.7472, allocations: 28.51 MB / 1.553 GB, free: 6.578 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.53, allocations: 4.062 kB / 1.553 GB, free: 6.574 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 21.485240896989126]