Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00156/0.00156, allocations: 117.1 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.001931/0.001931, allocations: 215 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.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.959/2.959, allocations: 0.49 GB / 0.7923 GB, free: 1.398 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.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_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.001999/0.001999, allocations: 67.84 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8137/0.8157, allocations: 176.1 MB / 1.321 GB, free: 24.91 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2167/1.032, allocations: 190.7 MB / 1.508 GB, free: 10.71 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01786/1.05, allocations: 13.1 MB / 1.521 GB, free: 13.57 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001349/1.052, allocations: 39.69 kB / 1.521 GB, free: 13.53 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/1.053, allocations: 437.2 kB / 1.521 GB, free: 13.1 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002787/1.056, allocations: 0.9566 MB / 1.522 GB, free: 12.14 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/1.058, allocations: 0.7143 MB / 1.523 GB, free: 11.43 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002354/1.061, allocations: 1.481 MB / 1.524 GB, free: 9.945 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/1.062, allocations: 0.5531 MB / 1.525 GB, free: 9.375 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004666/1.066, allocations: 1.884 MB / 1.526 GB, free: 7.484 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/1.068, allocations: 0.5269 MB / 1.527 GB, free: 6.965 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002034/1.068, allocations: 56 kB / 1.527 GB, free: 6.91 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/1.07, allocations: 0.9043 MB / 1.528 GB, free: 6.004 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000428/1.07, allocations: 291.1 kB / 1.528 GB, free: 5.719 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007002/1.071, allocations: 386 kB / 1.529 GB, free: 5.34 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/1.073, allocations: 1.179 MB / 1.53 GB, free: 4.156 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.073, allocations: 0 / 1.53 GB, free: 4.156 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.443e-06/1.073, allocations: 0 / 1.53 GB, free: 4.156 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.268e-05/1.073, allocations: 0 / 1.53 GB, free: 4.156 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001715/1.075, allocations: 1.074 MB / 1.531 GB, free: 3.027 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.075, allocations: 15.98 kB / 1.531 GB, free: 3.012 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.452e-05/1.075, allocations: 17.25 kB / 1.531 GB, free: 2.996 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001224/1.075, allocations: 110.4 kB / 1.531 GB, free: 2.879 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009883/1.076, allocations: 191.3 kB / 1.531 GB, free: 2.691 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009212/1.077, allocations: 0.5563 MB / 1.532 GB, free: 2.098 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/1.077, allocations: 45.31 kB / 1.532 GB, free: 2.051 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/1.077, allocations: 56 kB / 1.532 GB, free: 1.996 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/1.078, allocations: 0.775 MB / 1.532 GB, free: 1.113 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/1.079, allocations: 3.938 kB / 1.532 GB, free: 1.109 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/1.079, allocations: 28 kB / 1.533 GB, free: 1.082 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/1.079, allocations: 25 kB / 1.533 GB, free: 1.055 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009694/1.08, allocations: 467.2 kB / 1.533 GB, free: 0.5977 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.004383/1.084, allocations: 4.459 MB / 1.537 GB, free: 11.89 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/1.084, allocations: 106.3 kB / 1.537 GB, free: 11.75 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/1.084, allocations: 71.58 kB / 1.538 GB, free: 11.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/1.084, allocations: 93.11 kB / 1.538 GB, free: 11.55 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.084, allocations: 42.55 kB / 1.538 GB, free: 11.5 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/1.084, allocations: 0 / 1.538 GB, free: 11.5 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006955/1.085, allocations: 249.3 kB / 1.538 GB, free: 11.25 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/1.085, allocations: 136.8 kB / 1.538 GB, free: 11.09 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/1.086, allocations: 0.8408 MB / 1.539 GB, free: 10.24 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/1.086, allocations: 25.7 kB / 1.539 GB, free: 10.21 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000351/1.087, allocations: 407.7 kB / 1.539 GB, free: 9.809 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/1.087, allocations: 55.59 kB / 1.539 GB, free: 9.754 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/1.087, allocations: 93.98 kB / 1.539 GB, free: 9.656 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.087, allocations: 326 kB / 1.54 GB, free: 9.332 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/1.087, allocations: 108.7 kB / 1.54 GB, free: 9.227 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/1.088, allocations: 362 kB / 1.54 GB, free: 8.758 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006416/1.089, allocations: 437.5 kB / 1.541 GB, free: 8.223 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/1.089, allocations: 4 kB / 1.541 GB, free: 8.219 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001014/1.09, allocations: 0.4934 MB / 1.541 GB, free: 7.719 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.09, allocations: 10.03 kB / 1.541 GB, free: 7.711 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.09, allocations: 8 kB / 1.541 GB, free: 7.703 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/1.09, allocations: 16 kB / 1.541 GB, free: 7.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/1.09, allocations: 91.83 kB / 1.541 GB, free: 7.598 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/1.09, allocations: 16.05 kB / 1.541 GB, free: 7.582 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006566/1.091, allocations: 127.2 kB / 1.541 GB, free: 7.457 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/1.091, allocations: 24 kB / 1.541 GB, free: 7.434 MB / 1.217 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.000274/1.091, allocations: 231.6 kB / 1.542 GB, free: 7.199 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/1.091, allocations: 79.48 kB / 1.542 GB, free: 7.121 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/1.091, allocations: 70.17 kB / 1.542 GB, free: 7.051 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/1.091, allocations: 4 kB / 1.542 GB, free: 7.047 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.091, allocations: 3.938 kB / 1.542 GB, free: 7.043 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/1.091, allocations: 15.88 kB / 1.542 GB, free: 7.027 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/1.093, allocations: 1.113 MB / 1.543 GB, free: 5.824 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.093, allocations: 4 kB / 1.543 GB, free: 5.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.677e-05/1.093, allocations: 23.92 kB / 1.543 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/1.093, allocations: 0 / 1.543 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/1.093, allocations: 4 kB / 1.543 GB, free: 5.793 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.093, allocations: 4 kB / 1.543 GB, free: 5.789 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.093, allocations: 4 kB / 1.543 GB, free: 5.785 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/1.093, allocations: 272.5 kB / 1.543 GB, free: 5.473 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/1.093, allocations: 176.5 kB / 1.543 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.823e-05/1.093, allocations: 4 kB / 1.543 GB, free: 5.277 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/1.094, allocations: 19.98 kB / 1.543 GB, free: 5.258 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/1.094, allocations: 11.92 kB / 1.543 GB, free: 5.246 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/1.094, allocations: 8 kB / 1.543 GB, free: 5.238 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008647/1.095, allocations: 0.5849 MB / 1.544 GB, free: 4.656 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.095, allocations: 0 / 1.544 GB, free: 4.656 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005815/1.095, allocations: 159.8 kB / 1.544 GB, free: 4.5 MB / 1.217 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.0009161/1.096, allocations: 0.879 MB / 1.545 GB, free: 3.57 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005485/1.097, allocations: 241.1 kB / 1.545 GB, free: 3.336 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.097, allocations: 4 kB / 1.545 GB, free: 3.332 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/1.097, allocations: 44.78 kB / 1.545 GB, free: 3.289 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.098, allocations: 378.4 kB / 1.546 GB, free: 2.93 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007611/1.106, allocations: 5.477 MB / 1.551 GB, free: 13.09 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/1.107, allocations: 0.9331 MB / 1.552 GB, free: 12.13 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0004584/1.107, allocations: 150.1 kB / 1.552 GB, free: 11.98 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003111/1.107, allocations: 231.4 kB / 1.552 GB, free: 11.76 MB / 1.232 GB Notification: Performance of SimCode: time 6.21e-07/1.107, allocations: 3.938 kB / 1.552 GB, free: 11.75 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04108/1.148, allocations: 18.12 MB / 1.57 GB, free: 10.04 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.329/10.48, allocations: 19.39 kB / 1.57 GB, free: 10.02 MB / 1.248 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 16.884192853001878]