Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001584/0.001584, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002043/0.002043, allocations: 219.8 kB / 23.03 MB, free: 4.922 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.409/1.409, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.001973/0.001973, allocations: 67.09 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3277, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2076/0.5353, allocations: 165.5 MB / 1.488 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01833/0.5537, allocations: 12.01 MB / 1.5 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.5548, allocations: 43.62 kB / 1.5 GB, free: 15.23 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001292/0.5561, allocations: 425.1 kB / 1.5 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.559, allocations: 1.206 MB / 1.502 GB, free: 13.6 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.5608, allocations: 0.7345 MB / 1.502 GB, free: 12.87 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002926/0.5637, allocations: 2.055 MB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001072/0.5648, allocations: 0.6254 MB / 1.505 GB, free: 10.15 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004615/0.5694, allocations: 2.001 MB / 1.507 GB, free: 8.145 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.5711, allocations: 0.6956 MB / 1.508 GB, free: 7.449 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.5713, allocations: 80 kB / 1.508 GB, free: 7.371 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.5729, allocations: 0.7365 MB / 1.508 GB, free: 6.633 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.5733, allocations: 390.8 kB / 1.509 GB, free: 6.25 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.5739, allocations: 422.1 kB / 1.509 GB, free: 5.836 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.5761, allocations: 1.487 MB / 1.511 GB, free: 4.344 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5761, allocations: 0 / 1.511 GB, free: 4.344 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5761, allocations: 0 / 1.511 GB, free: 4.344 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.113e-05/0.5762, allocations: 0 / 1.511 GB, free: 4.344 MB / 1.201 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.002094/0.5782, allocations: 1.19 MB / 1.512 GB, free: 3.121 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.5783, allocations: 8.031 kB / 1.512 GB, free: 3.113 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.812e-05/0.5783, allocations: 22 kB / 1.512 GB, free: 3.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001613/0.5785, allocations: 126.4 kB / 1.512 GB, free: 2.957 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.5798, allocations: 223.2 kB / 1.512 GB, free: 2.738 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.5811, allocations: 0.6116 MB / 1.513 GB, free: 2.105 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.5811, allocations: 58 kB / 1.513 GB, free: 2.047 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.5813, allocations: 79.95 kB / 1.513 GB, free: 1.969 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.5828, allocations: 1.05 MB / 1.514 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.5828, allocations: 11.88 kB / 1.514 GB, free: 0.793 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.5829, allocations: 35.98 kB / 1.514 GB, free: 0.7578 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.583, allocations: 29.31 kB / 1.514 GB, free: 0.7305 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.584, allocations: 0.6216 MB / 1.515 GB, free: 108 kB / 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.004642/0.5886, allocations: 3.726 MB / 1.518 GB, free: 12.23 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/0.5894, allocations: 459.7 kB / 1.519 GB, free: 11.76 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.5898, allocations: 230.5 kB / 1.519 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.5899, allocations: 23.98 kB / 1.519 GB, free: 11.5 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.59, allocations: 58.42 kB / 1.519 GB, free: 11.43 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 6.101e-06/0.59, allocations: 3.984 kB / 1.519 GB, free: 11.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.003011/0.593, allocations: 1.544 MB / 1.52 GB, free: 9.852 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.5931, allocations: 110.8 kB / 1.521 GB, free: 9.719 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5941, allocations: 0.7155 MB / 1.521 GB, free: 8.992 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.5942, allocations: 45.62 kB / 1.521 GB, free: 8.941 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.5945, allocations: 420.5 kB / 1.522 GB, free: 8.527 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.5947, allocations: 166.6 kB / 1.522 GB, free: 8.363 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.5949, allocations: 122.3 kB / 1.522 GB, free: 8.238 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.595, allocations: 326 kB / 1.522 GB, free: 7.914 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/0.5954, allocations: 189.2 kB / 1.522 GB, free: 7.73 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00062/0.596, allocations: 0.5617 MB / 1.523 GB, free: 7.035 MB / 1.217 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.002398/0.5984, allocations: 1.097 MB / 1.524 GB, free: 5.852 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.5984, allocations: 0 / 1.524 GB, free: 5.852 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001129/0.5995, allocations: 0.6794 MB / 1.525 GB, free: 5.164 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.5995, allocations: 8.781 kB / 1.525 GB, free: 5.156 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.5996, allocations: 8 kB / 1.525 GB, free: 5.148 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.5996, allocations: 15.94 kB / 1.525 GB, free: 5.133 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.6, allocations: 127.8 kB / 1.525 GB, free: 5.008 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.151e-05/0.6001, allocations: 19.91 kB / 1.525 GB, free: 4.988 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.6006, allocations: 21.72 kB / 1.525 GB, free: 4.969 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.6007, allocations: 31.98 kB / 1.525 GB, free: 4.938 MB / 1.217 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.0004404/0.6012, allocations: 279.6 kB / 1.525 GB, free: 4.656 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.6013, allocations: 91.38 kB / 1.525 GB, free: 4.566 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.6015, allocations: 83.67 kB / 1.525 GB, free: 4.48 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6015, allocations: 4 kB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.6015, allocations: 11.98 kB / 1.525 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008015/0.6023, allocations: 0.7041 MB / 1.526 GB, free: 3.676 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.6048, allocations: 1.513 MB / 1.528 GB, free: 2.062 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.6048, allocations: 4 kB / 1.528 GB, free: 2.059 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.6053, allocations: 99.89 kB / 1.528 GB, free: 1.961 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6053, allocations: 4 kB / 1.528 GB, free: 1.957 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.6053, allocations: 16 kB / 1.528 GB, free: 1.941 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/0.6053, allocations: 15.92 kB / 1.528 GB, free: 1.926 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6054, allocations: 4.062 kB / 1.528 GB, free: 1.922 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.6066, allocations: 0.8734 MB / 1.529 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.6069, allocations: 135.4 kB / 1.529 GB, free: 0.8516 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.607, allocations: 19.98 kB / 1.529 GB, free: 0.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004463/0.6075, allocations: 16 kB / 1.529 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.6076, allocations: 47.75 kB / 1.529 GB, free: 0.7695 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.559e-05/0.6076, allocations: 16.09 kB / 1.529 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0007206/0.6084, allocations: 0.5107 MB / 1.529 GB, free: 256 kB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6084, allocations: 0 / 1.529 GB, free: 256 kB / 1.217 GB Notification: Performance of remove unused functions: time 0.0008039/0.6092, allocations: 203.9 kB / 1.53 GB, free: 52 kB / 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.001982/0.6111, allocations: 1.493 MB / 1.531 GB, free: 14.49 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008856/0.612, allocations: 465.7 kB / 1.531 GB, free: 14.04 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.612, allocations: 4 kB / 1.531 GB, free: 14.04 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.6123, allocations: 199.7 kB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.6145, allocations: 482 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009413/0.6239, allocations: 6.633 MB / 1.539 GB, free: 6.352 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.6244, allocations: 440.9 kB / 1.539 GB, free: 5.895 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0006967/0.6251, allocations: 210.9 kB / 1.539 GB, free: 5.684 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.6255, allocations: 299.3 kB / 1.539 GB, free: 5.391 MB / 1.232 GB Notification: Performance of SimCode: time 1.343e-06/0.6255, allocations: 0 / 1.539 GB, free: 5.391 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05692/0.6824, allocations: 24.27 MB / 1.563 GB, free: 13.79 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.33/13.01, allocations: 13.64 kB / 1.563 GB, free: 13.78 MB / 1.264 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.669732735026628]