Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.00137/0.00137, 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.001454/0.001454, 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.525/1.525, 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.831/2.831, allocations: 476.7 MB / 0.7678 GB, free: 9.348 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.00227/0.00227, allocations: 67.91 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054/1.057, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.3136/1.37, allocations: 190.7 MB / 1.465 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01928/1.39, allocations: 13.12 MB / 1.478 GB, free: 15.97 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/1.391, allocations: 43.69 kB / 1.478 GB, free: 15.93 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/1.392, allocations: 425.2 kB / 1.478 GB, free: 15.51 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002603/1.395, allocations: 0.9651 MB / 1.479 GB, free: 14.54 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/1.397, allocations: 0.7111 MB / 1.48 GB, free: 13.84 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003253/1.4, allocations: 1.5 MB / 1.482 GB, free: 12.33 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/1.401, allocations: 0.5492 MB / 1.482 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004896/1.406, allocations: 1.782 MB / 1.484 GB, free: 9.977 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001642/1.408, allocations: 0.5413 MB / 1.484 GB, free: 9.441 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/1.408, allocations: 52 kB / 1.484 GB, free: 9.391 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/1.41, allocations: 0.9159 MB / 1.485 GB, free: 8.473 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/1.41, allocations: 283.1 kB / 1.486 GB, free: 8.195 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005214/1.411, allocations: 386 kB / 1.486 GB, free: 7.816 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002029/1.413, allocations: 1.187 MB / 1.487 GB, free: 6.625 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.413, allocations: 0 / 1.487 GB, free: 6.625 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.413e-06/1.413, allocations: 0 / 1.487 GB, free: 6.625 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.077e-05/1.413, allocations: 0 / 1.487 GB, free: 6.625 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001745/1.414, allocations: 1.074 MB / 1.488 GB, free: 5.496 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.415, allocations: 15.97 kB / 1.488 GB, free: 5.48 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.911e-05/1.415, allocations: 13.31 kB / 1.488 GB, free: 5.469 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001263/1.415, allocations: 106.4 kB / 1.488 GB, free: 5.355 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/1.416, allocations: 195.3 kB / 1.488 GB, free: 5.164 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008965/1.417, allocations: 0.5485 MB / 1.489 GB, free: 4.582 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/1.417, allocations: 53.3 kB / 1.489 GB, free: 4.527 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/1.417, allocations: 63.94 kB / 1.489 GB, free: 4.465 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/1.418, allocations: 0.7711 MB / 1.49 GB, free: 3.582 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/1.418, allocations: 7.875 kB / 1.49 GB, free: 3.574 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/1.418, allocations: 24 kB / 1.49 GB, free: 3.551 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/1.418, allocations: 21 kB / 1.49 GB, free: 3.531 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009642/1.419, allocations: 463.3 kB / 1.49 GB, free: 3.078 MB / 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.004389/1.423, allocations: 4.391 MB / 1.495 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/1.424, allocations: 106.4 kB / 1.495 GB, free: 14.31 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/1.424, allocations: 67.5 kB / 1.495 GB, free: 14.23 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/1.424, allocations: 97.09 kB / 1.495 GB, free: 14.12 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.424, allocations: 42.5 kB / 1.495 GB, free: 14.07 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.684e-06/1.424, allocations: 0 / 1.495 GB, free: 14.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007134/1.425, allocations: 245 kB / 1.495 GB, free: 13.82 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.79e-05/1.425, allocations: 140.7 kB / 1.495 GB, free: 13.66 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/1.426, allocations: 0.8408 MB / 1.496 GB, free: 12.8 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/1.426, allocations: 25.7 kB / 1.496 GB, free: 12.77 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/1.426, allocations: 415.6 kB / 1.497 GB, free: 12.36 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/1.426, allocations: 31.73 kB / 1.497 GB, free: 12.33 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/1.427, allocations: 97.97 kB / 1.497 GB, free: 12.23 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.427, allocations: 318 kB / 1.497 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/1.427, allocations: 112.7 kB / 1.497 GB, free: 11.8 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/1.428, allocations: 365.7 kB / 1.497 GB, free: 11.33 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006372/1.428, allocations: 437.5 kB / 1.498 GB, free: 10.8 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.428, allocations: 4 kB / 1.498 GB, free: 10.79 MB / 1.186 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001018/1.429, allocations: 0.4969 MB / 1.498 GB, free: 10.29 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/1.429, allocations: 12.84 kB / 1.498 GB, free: 10.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.429, allocations: 11.98 kB / 1.498 GB, free: 10.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/1.429, allocations: 12 kB / 1.498 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/1.43, allocations: 91.83 kB / 1.498 GB, free: 10.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/1.43, allocations: 19.92 kB / 1.498 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/1.43, allocations: 127.1 kB / 1.499 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/1.43, allocations: 24 kB / 1.499 GB, free: 9.996 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002898/1.431, allocations: 229.6 kB / 1.499 GB, free: 9.762 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/1.431, allocations: 79.48 kB / 1.499 GB, free: 9.684 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001333/1.431, allocations: 74.17 kB / 1.499 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.431, allocations: 0 / 1.499 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.431, allocations: 0 / 1.499 GB, free: 9.609 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.431, allocations: 7.938 kB / 1.499 GB, free: 9.602 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/1.432, allocations: 1.124 MB / 1.5 GB, free: 8.387 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/1.432, allocations: 0 / 1.5 GB, free: 8.387 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.982e-05/1.433, allocations: 19.94 kB / 1.5 GB, free: 8.367 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.433, allocations: 7.938 kB / 1.5 GB, free: 8.359 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/1.433, allocations: 128 / 1.5 GB, free: 8.359 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.698e-05/1.433, allocations: 11.98 kB / 1.5 GB, free: 8.348 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.433, allocations: 11.92 kB / 1.5 GB, free: 8.336 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003313/1.433, allocations: 268.5 kB / 1.5 GB, free: 8.027 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.433, allocations: 168.6 kB / 1.501 GB, free: 7.844 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/1.433, allocations: 11.98 kB / 1.501 GB, free: 7.832 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/1.434, allocations: 15.98 kB / 1.501 GB, free: 7.816 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.425e-05/1.434, allocations: 7.938 kB / 1.501 GB, free: 7.809 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/1.434, allocations: 8 kB / 1.501 GB, free: 7.801 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008807/1.434, allocations: 0.5888 MB / 1.501 GB, free: 7.215 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/1.434, allocations: 3.938 kB / 1.501 GB, free: 7.211 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006205/1.435, allocations: 159.8 kB / 1.501 GB, free: 7.055 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0009704/1.436, allocations: 0.8721 MB / 1.502 GB, free: 6.133 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005641/1.437, allocations: 241.1 kB / 1.502 GB, free: 5.898 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/1.437, allocations: 0 / 1.502 GB, free: 5.898 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.298e-05/1.437, allocations: 43.86 kB / 1.502 GB, free: 5.855 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/1.438, allocations: 382.6 kB / 1.503 GB, free: 5.484 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/1.446, allocations: 5.472 MB / 1.508 GB, free: 15.66 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/1.447, allocations: 0.9331 MB / 1.509 GB, free: 14.7 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000547/1.447, allocations: 150.1 kB / 1.509 GB, free: 14.55 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/1.448, allocations: 231.4 kB / 1.509 GB, free: 14.32 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/1.448, allocations: 0 / 1.509 GB, free: 14.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04466/1.492, allocations: 18.12 MB / 1.527 GB, free: 12.6 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.971/11.46, allocations: 17.98 kB / 1.527 GB, free: 12.59 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.957223103032447]