Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001837/0.001837, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002319/0.002319, allocations: 220.5 kB / 22.26 MB, free: 5.125 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.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.977 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.947/2.947, allocations: 476.7 MB / 0.7707 GB, free: 4.273 MB / 0.6231 GB " [Timeout remaining time 176] 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.002206/0.002206, allocations: 62.95 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3292, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2429/0.5721, allocations: 191.2 MB / 1.47 GB, free: 11.76 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.5941, allocations: 13.25 MB / 1.483 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.5953, allocations: 43.62 kB / 1.483 GB, free: 14.43 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.5971, allocations: 445.1 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.6009, allocations: 1.222 MB / 1.485 GB, free: 12.77 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002372/0.6032, allocations: 0.7412 MB / 1.485 GB, free: 12.03 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003576/0.6068, allocations: 2.064 MB / 1.487 GB, free: 9.965 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.6086, allocations: 0.6255 MB / 1.488 GB, free: 9.316 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005371/0.6139, allocations: 1.911 MB / 1.49 GB, free: 7.398 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002293/0.6162, allocations: 0.7166 MB / 1.491 GB, free: 6.688 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.6166, allocations: 80 kB / 1.491 GB, free: 6.609 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.6191, allocations: 0.9392 MB / 1.492 GB, free: 5.668 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0006863/0.6198, allocations: 394.8 kB / 1.492 GB, free: 5.281 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.621, allocations: 0.5054 MB / 1.492 GB, free: 4.773 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.6249, allocations: 1.498 MB / 1.494 GB, free: 3.27 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6249, allocations: 3.938 kB / 1.494 GB, free: 3.266 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6249, allocations: 0 / 1.494 GB, free: 3.266 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.907e-05/0.625, allocations: 0 / 1.494 GB, free: 3.266 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003052/0.628, allocations: 1.193 MB / 1.495 GB, free: 2.039 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6281, allocations: 8.031 kB / 1.495 GB, free: 2.031 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002454/0.6283, allocations: 130.5 kB / 1.495 GB, free: 1.895 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.6298, allocations: 215.1 kB / 1.495 GB, free: 1.684 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.6316, allocations: 0.6116 MB / 1.496 GB, free: 1.043 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.417e-05/0.6317, allocations: 54 kB / 1.496 GB, free: 0.9922 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002391/0.6319, allocations: 83.94 kB / 1.496 GB, free: 0.9102 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.6342, allocations: 0.9404 MB / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.6342, allocations: 3.938 kB / 1.497 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.6343, allocations: 35.94 kB / 1.497 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.6344, allocations: 33.31 kB / 1.497 GB, free: 15.81 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.6357, allocations: 0.6216 MB / 1.498 GB, free: 15.19 MB / 1.201 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.006651/0.6424, allocations: 4.519 MB / 1.502 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009343/0.6433, allocations: 459.9 kB / 1.503 GB, free: 9.906 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003877/0.6437, allocations: 234.5 kB / 1.503 GB, free: 9.668 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.6439, allocations: 19.98 kB / 1.503 GB, free: 9.648 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.6439, allocations: 42.5 kB / 1.503 GB, free: 9.598 MB / 1.201 GB Notification: Performance of pre-optimization done (n=43): time 2.806e-06/0.6439, allocations: 0 / 1.503 GB, free: 9.598 MB / 1.201 GB Notification: Performance of matching and sorting (n=45): time 0.003635/0.6476, allocations: 1.553 MB / 1.504 GB, free: 8.008 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.628e-05/0.6477, allocations: 110.8 kB / 1.505 GB, free: 7.875 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.6487, allocations: 0.7116 MB / 1.505 GB, free: 7.156 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.819e-05/0.6488, allocations: 33.7 kB / 1.505 GB, free: 7.117 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.6492, allocations: 424.8 kB / 1.506 GB, free: 6.695 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.6495, allocations: 178.5 kB / 1.506 GB, free: 6.52 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.6497, allocations: 110.3 kB / 1.506 GB, free: 6.406 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.6499, allocations: 334 kB / 1.506 GB, free: 6.074 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.6502, allocations: 185.2 kB / 1.506 GB, free: 5.891 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005702/0.6508, allocations: 417.5 kB / 1.507 GB, free: 5.395 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.6533, allocations: 1.113 MB / 1.508 GB, free: 4.199 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.6533, allocations: 4 kB / 1.508 GB, free: 4.195 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001405/0.6547, allocations: 0.6683 MB / 1.509 GB, free: 3.52 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.6548, allocations: 11.98 kB / 1.509 GB, free: 3.508 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.6548, allocations: 8 kB / 1.509 GB, free: 3.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.6548, allocations: 11.94 kB / 1.509 GB, free: 3.488 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004866/0.6553, allocations: 123.8 kB / 1.509 GB, free: 3.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.489e-05/0.6553, allocations: 12.47 kB / 1.509 GB, free: 3.355 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.656, allocations: 31.98 kB / 1.509 GB, free: 3.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.656, allocations: 31.94 kB / 1.509 GB, free: 3.293 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: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * 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.0004928/0.6565, allocations: 269.6 kB / 1.509 GB, free: 3.02 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.6567, allocations: 91.38 kB / 1.509 GB, free: 2.93 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000231/0.657, allocations: 91.66 kB / 1.509 GB, free: 2.836 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.657, allocations: 8 kB / 1.509 GB, free: 2.828 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.657, allocations: 0 / 1.509 GB, free: 2.828 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008468/0.6578, allocations: 0.6988 MB / 1.51 GB, free: 2.043 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.6608, allocations: 1.615 MB / 1.512 GB, free: 336 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6608, allocations: 12.05 kB / 1.512 GB, free: 324 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.6612, allocations: 100.3 kB / 1.512 GB, free: 224 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.6612, allocations: 12 kB / 1.512 GB, free: 212 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.6613, allocations: 16 kB / 1.512 GB, free: 196 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/0.6613, allocations: 7.938 kB / 1.512 GB, free: 188 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6613, allocations: 4 kB / 1.512 GB, free: 184 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.6626, allocations: 0.8694 MB / 1.513 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004034/0.663, allocations: 139.4 kB / 1.513 GB, free: 15.11 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.6632, allocations: 15.94 kB / 1.513 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.6637, allocations: 19.98 kB / 1.513 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/0.6637, allocations: 35.89 kB / 1.513 GB, free: 15.04 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.6638, allocations: 23.98 kB / 1.513 GB, free: 15.01 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007658/0.6646, allocations: 0.5107 MB / 1.513 GB, free: 14.5 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6646, allocations: 0 / 1.513 GB, free: 14.5 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008667/0.6654, allocations: 199.9 kB / 1.513 GB, free: 14.31 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001992/0.6674, allocations: 1.494 MB / 1.515 GB, free: 12.75 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0009233/0.6683, allocations: 461.5 kB / 1.515 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6683, allocations: 0 / 1.515 GB, free: 12.3 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.6687, allocations: 212.2 kB / 1.516 GB, free: 12.09 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.6708, allocations: 479.5 kB / 1.516 GB, free: 11.64 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.6814, allocations: 6.641 MB / 1.522 GB, free: 4.594 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/0.6822, allocations: 1.028 MB / 1.523 GB, free: 3.539 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007275/0.683, allocations: 195 kB / 1.524 GB, free: 3.344 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004675/0.6834, allocations: 299.3 kB / 1.524 GB, free: 3.051 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/0.6834, allocations: 4 kB / 1.524 GB, free: 3.047 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06828/0.7517, allocations: 22.79 MB / 1.546 GB, free: 12.66 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.8, allocations: 9.922 kB / 1.546 GB, free: 12.65 MB / 1.248 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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: 20.846488435054198]