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.001554/0.001554, allocations: 114.7 kB / 17.16 MB, free: 5.895 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.002004/0.002004, allocations: 210.3 kB / 20.13 MB, free: 2.949 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.884/2.884, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_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.002225/0.002225, allocations: 59.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9817/0.984, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2828/1.267, allocations: 190.9 MB / 1.465 GB, free: 12.94 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0215/1.288, allocations: 13.16 MB / 1.478 GB, free: 15.75 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/1.29, allocations: 43.62 kB / 1.478 GB, free: 15.71 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/1.291, allocations: 441.1 kB / 1.479 GB, free: 15.28 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.003916/1.295, allocations: 1.202 MB / 1.48 GB, free: 14.07 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/1.298, allocations: 0.7105 MB / 1.481 GB, free: 13.36 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00426/1.302, allocations: 2.019 MB / 1.483 GB, free: 11.34 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/1.304, allocations: 0.6989 MB / 1.483 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005715/1.31, allocations: 1.891 MB / 1.485 GB, free: 8.723 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/1.312, allocations: 0.7053 MB / 1.486 GB, free: 8.02 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/1.312, allocations: 80 kB / 1.486 GB, free: 7.941 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/1.315, allocations: 0.9197 MB / 1.487 GB, free: 7.02 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/1.315, allocations: 394.8 kB / 1.487 GB, free: 6.633 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.317, allocations: 0.4976 MB / 1.488 GB, free: 6.133 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00365/1.32, allocations: 1.502 MB / 1.489 GB, free: 4.625 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.32, allocations: 7.984 kB / 1.489 GB, free: 4.617 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.324e-06/1.32, allocations: 0 / 1.489 GB, free: 4.617 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.976e-05/1.32, allocations: 0 / 1.489 GB, free: 4.617 MB / 1.17 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.002947/1.323, allocations: 1.265 MB / 1.49 GB, free: 3.301 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.323, allocations: 12.03 kB / 1.49 GB, free: 3.289 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.071e-05/1.323, allocations: 18 kB / 1.49 GB, free: 3.27 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002106/1.324, allocations: 130.5 kB / 1.49 GB, free: 3.133 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001434/1.325, allocations: 211.2 kB / 1.491 GB, free: 2.926 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/1.327, allocations: 0.6877 MB / 1.491 GB, free: 2.199 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.162e-05/1.327, allocations: 62 kB / 1.491 GB, free: 2.137 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/1.327, allocations: 75.95 kB / 1.491 GB, free: 2.062 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/1.329, allocations: 0.9327 MB / 1.492 GB, free: 1.047 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/1.329, allocations: 7.875 kB / 1.492 GB, free: 1.039 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/1.329, allocations: 35.98 kB / 1.492 GB, free: 1.004 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/1.329, allocations: 29.31 kB / 1.492 GB, free: 0.9766 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/1.33, allocations: 0.6216 MB / 1.493 GB, free: 360 kB / 1.17 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.006635/1.337, allocations: 4.579 MB / 1.497 GB, free: 11.48 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.338, allocations: 0.5316 MB / 1.498 GB, free: 10.9 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003927/1.338, allocations: 240.2 kB / 1.498 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/1.338, allocations: 105.1 kB / 1.498 GB, free: 10.54 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/1.338, allocations: 42.5 kB / 1.498 GB, free: 10.49 MB / 1.186 GB Notification: Performance of pre-optimization done (n=43): time 2.505e-06/1.338, allocations: 0 / 1.498 GB, free: 10.49 MB / 1.186 GB Notification: Performance of matching and sorting (n=45): time 0.003844/1.342, allocations: 1.625 MB / 1.5 GB, free: 8.809 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/1.342, allocations: 106.8 kB / 1.5 GB, free: 8.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/1.344, allocations: 0.7155 MB / 1.501 GB, free: 7.949 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/1.344, allocations: 37.7 kB / 1.501 GB, free: 7.906 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004748/1.344, allocations: 420.8 kB / 1.501 GB, free: 7.492 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/1.344, allocations: 174.5 kB / 1.501 GB, free: 7.32 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/1.345, allocations: 118.3 kB / 1.501 GB, free: 7.195 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001806/1.345, allocations: 330 kB / 1.502 GB, free: 6.867 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000362/1.345, allocations: 189.2 kB / 1.502 GB, free: 6.684 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/1.346, allocations: 417 kB / 1.502 GB, free: 6.18 MB / 1.186 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.002714/1.348, allocations: 1.177 MB / 1.504 GB, free: 4.898 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/1.348, allocations: 0 / 1.504 GB, free: 4.898 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001371/1.35, allocations: 0.6723 MB / 1.504 GB, free: 4.219 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.35, allocations: 8 kB / 1.504 GB, free: 4.211 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.35, allocations: 8 kB / 1.504 GB, free: 4.203 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/1.35, allocations: 8 kB / 1.504 GB, free: 4.195 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/1.35, allocations: 131.8 kB / 1.504 GB, free: 4.066 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.617e-05/1.35, allocations: 15.92 kB / 1.504 GB, free: 4.051 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/1.351, allocations: 32.48 kB / 1.504 GB, free: 4.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/1.351, allocations: 28 kB / 1.504 GB, free: 3.992 MB / 1.186 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.0005533/1.352, allocations: 273.6 kB / 1.505 GB, free: 3.715 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/1.352, allocations: 91.38 kB / 1.505 GB, free: 3.625 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/1.352, allocations: 91.66 kB / 1.505 GB, free: 3.531 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.352, allocations: 4 kB / 1.505 GB, free: 3.527 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/1.352, allocations: 4 kB / 1.505 GB, free: 3.523 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008789/1.353, allocations: 0.6988 MB / 1.506 GB, free: 2.738 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/1.356, allocations: 1.644 MB / 1.507 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.356, allocations: 11.88 kB / 1.507 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/1.357, allocations: 92.39 kB / 1.507 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.357, allocations: 12 kB / 1.507 GB, free: 0.875 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/1.357, allocations: 20.06 kB / 1.507 GB, free: 0.8555 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/1.357, allocations: 7.984 kB / 1.507 GB, free: 0.8477 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.357, allocations: 7.938 kB / 1.507 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/1.358, allocations: 0.8694 MB / 1.508 GB, free: 15.9 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004189/1.358, allocations: 220.5 kB / 1.508 GB, free: 15.67 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.359, allocations: 8 kB / 1.508 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/1.359, allocations: 23.98 kB / 1.508 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.613e-05/1.359, allocations: 39.84 kB / 1.508 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/1.359, allocations: 19.98 kB / 1.508 GB, free: 15.58 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0008193/1.36, allocations: 0.5107 MB / 1.509 GB, free: 15.07 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.36, allocations: 0 / 1.509 GB, free: 15.07 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009085/1.361, allocations: 203.9 kB / 1.509 GB, free: 14.88 MB / 1.201 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.002131/1.363, allocations: 1.494 MB / 1.511 GB, free: 13.32 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001018/1.364, allocations: 460.8 kB / 1.511 GB, free: 12.87 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.364, allocations: 8 kB / 1.511 GB, free: 12.86 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0003548/1.364, allocations: 204.2 kB / 1.511 GB, free: 12.66 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002467/1.367, allocations: 476.4 kB / 1.512 GB, free: 12.2 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.379, allocations: 6.635 MB / 1.518 GB, free: 5.172 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009303/1.379, allocations: 1.024 MB / 1.519 GB, free: 4.121 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008491/1.38, allocations: 203 kB / 1.519 GB, free: 3.918 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005369/1.381, allocations: 295.3 kB / 1.52 GB, free: 3.629 MB / 1.201 GB Notification: Performance of SimCode: time 1.182e-06/1.381, allocations: 4 kB / 1.52 GB, free: 3.625 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06194/1.443, allocations: 22.34 MB / 1.541 GB, free: 13.73 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.63, allocations: 12.53 kB / 1.541 GB, free: 13.72 MB / 1.232 GB " [Timeout remaining time 288] (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: 18.18555805797223]