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.001392/0.001392, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001493/0.001493, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.456/1.456, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 2.912/2.912, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] 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.0022/0.0022, allocations: 71.88 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9131/0.9153, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2286/1.144, allocations: 190.9 MB / 1.508 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01811/1.162, allocations: 13.15 MB / 1.521 GB, free: 13.24 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/1.164, allocations: 47.62 kB / 1.521 GB, free: 13.19 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/1.165, allocations: 445.1 kB / 1.521 GB, free: 12.75 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003244/1.168, allocations: 1.19 MB / 1.522 GB, free: 11.56 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001862/1.17, allocations: 0.715 MB / 1.523 GB, free: 10.85 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002741/1.173, allocations: 1.996 MB / 1.525 GB, free: 8.848 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/1.174, allocations: 0.7028 MB / 1.526 GB, free: 8.121 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/1.179, allocations: 2.024 MB / 1.528 GB, free: 6.09 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/1.18, allocations: 0.7006 MB / 1.528 GB, free: 5.391 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/1.181, allocations: 80 kB / 1.528 GB, free: 5.312 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/1.182, allocations: 0.916 MB / 1.529 GB, free: 4.395 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000413/1.183, allocations: 390.8 kB / 1.53 GB, free: 4.012 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005681/1.183, allocations: 0.4976 MB / 1.53 GB, free: 3.512 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002157/1.186, allocations: 1.499 MB / 1.532 GB, free: 2.008 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/1.186, allocations: 0 / 1.532 GB, free: 2.008 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.482e-06/1.186, allocations: 0 / 1.532 GB, free: 2.008 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.186, allocations: 4 kB / 1.532 GB, free: 2.004 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.001915/1.187, allocations: 1.261 MB / 1.533 GB, free: 0.6914 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/1.188, allocations: 15.98 kB / 1.533 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.104e-05/1.188, allocations: 22 kB / 1.533 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/1.188, allocations: 126.5 kB / 1.533 GB, free: 0.5195 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/1.189, allocations: 219.2 kB / 1.533 GB, free: 312 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/1.19, allocations: 0.6799 MB / 1.534 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/1.19, allocations: 58 kB / 1.534 GB, free: 15.53 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/1.19, allocations: 79.95 kB / 1.534 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/1.192, allocations: 0.9384 MB / 1.535 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/1.192, allocations: 3.938 kB / 1.535 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.221e-05/1.192, allocations: 39.92 kB / 1.535 GB, free: 14.39 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.165e-05/1.192, allocations: 33.25 kB / 1.535 GB, free: 14.36 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/1.193, allocations: 0.6216 MB / 1.536 GB, free: 13.73 MB / 1.217 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.004779/1.198, allocations: 4.658 MB / 1.54 GB, free: 8.762 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/1.198, allocations: 0.5206 MB / 1.541 GB, free: 8.195 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003498/1.199, allocations: 245.7 kB / 1.541 GB, free: 7.949 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/1.199, allocations: 97.09 kB / 1.541 GB, free: 7.836 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.186e-05/1.199, allocations: 42.48 kB / 1.541 GB, free: 7.785 MB / 1.217 GB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/1.199, allocations: 4 kB / 1.541 GB, free: 7.781 MB / 1.217 GB Notification: Performance of matching and sorting (n=45): time 0.002956/1.202, allocations: 1.614 MB / 1.543 GB, free: 6.113 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.202, allocations: 110.8 kB / 1.543 GB, free: 5.98 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009113/1.203, allocations: 0.7116 MB / 1.544 GB, free: 5.258 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/1.203, allocations: 33.7 kB / 1.544 GB, free: 5.219 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/1.203, allocations: 428.5 kB / 1.544 GB, free: 4.797 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/1.203, allocations: 170.5 kB / 1.544 GB, free: 4.629 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001864/1.204, allocations: 122.3 kB / 1.544 GB, free: 4.5 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.204, allocations: 330 kB / 1.545 GB, free: 4.172 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/1.204, allocations: 189.1 kB / 1.545 GB, free: 3.988 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005076/1.205, allocations: 409.1 kB / 1.545 GB, free: 3.492 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.002392/1.207, allocations: 1.188 MB / 1.546 GB, free: 2.199 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/1.207, allocations: 4 kB / 1.546 GB, free: 2.195 MB / 1.217 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001088/1.208, allocations: 0.6798 MB / 1.547 GB, free: 1.508 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.208, allocations: 5.719 kB / 1.547 GB, free: 1.504 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.208, allocations: 8 kB / 1.547 GB, free: 1.496 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/1.208, allocations: 8 kB / 1.547 GB, free: 1.488 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.209, allocations: 123.8 kB / 1.547 GB, free: 1.367 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/1.209, allocations: 15.92 kB / 1.547 GB, free: 1.352 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005838/1.209, allocations: 23.98 kB / 1.547 GB, free: 1.328 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/1.209, allocations: 32.28 kB / 1.547 GB, free: 1.297 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.0003939/1.21, allocations: 277.5 kB / 1.547 GB, free: 1.016 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/1.21, allocations: 95.31 kB / 1.548 GB, free: 0.9219 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/1.21, allocations: 87.72 kB / 1.548 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/1.21, allocations: 12 kB / 1.548 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.21, allocations: 0 / 1.548 GB, free: 0.8164 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007822/1.211, allocations: 0.7027 MB / 1.548 GB, free: 28 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002503/1.213, allocations: 1.635 MB / 1.55 GB, free: 14.29 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.367e-06/1.213, allocations: 7.938 kB / 1.55 GB, free: 14.28 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004668/1.214, allocations: 103.8 kB / 1.55 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/1.214, allocations: 4 kB / 1.55 GB, free: 14.17 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/1.214, allocations: 16.5 kB / 1.55 GB, free: 14.16 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.214, allocations: 12 kB / 1.55 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.214, allocations: 7.938 kB / 1.55 GB, free: 14.14 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/1.215, allocations: 0.8694 MB / 1.551 GB, free: 13.2 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003325/1.215, allocations: 212.5 kB / 1.551 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.215, allocations: 19.98 kB / 1.551 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/1.216, allocations: 16 kB / 1.551 GB, free: 12.94 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/1.216, allocations: 43.83 kB / 1.551 GB, free: 12.9 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.769e-05/1.216, allocations: 20 kB / 1.551 GB, free: 12.88 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006774/1.217, allocations: 0.5068 MB / 1.552 GB, free: 12.38 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.4e-07/1.217, allocations: 0 / 1.552 GB, free: 12.38 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.000821/1.217, allocations: 203.9 kB / 1.552 GB, free: 12.18 MB / 1.232 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.001855/1.219, allocations: 1.478 MB / 1.553 GB, free: 10.64 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008669/1.22, allocations: 471.3 kB / 1.554 GB, free: 10.18 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.22, allocations: 0 / 1.554 GB, free: 10.18 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/1.221, allocations: 202.1 kB / 1.554 GB, free: 9.98 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/1.223, allocations: 489.8 kB / 1.554 GB, free: 9.512 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009941/1.233, allocations: 6.64 MB / 1.561 GB, free: 2.477 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007487/1.233, allocations: 1.028 MB / 1.562 GB, free: 1.422 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0008558/1.234, allocations: 199 kB / 1.562 GB, free: 1.223 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004853/1.235, allocations: 299.3 kB / 1.562 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of SimCode: time 2.094e-06/1.235, allocations: 0 / 1.562 GB, free: 0.9297 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05026/1.285, allocations: 22.35 MB / 1.584 GB, free: 11.02 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.375/10.66, allocations: 14.34 kB / 1.584 GB, free: 11.01 MB / 1.264 GB " [Timeout remaining time 289] (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: 17.083374023030046]