Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001234/0.001234, allocations: 116.7 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.001302/0.001302, 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.39/1.39, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.775/2.775, allocations: 0.5003 GB / 0.8026 GB, free: 6.703 MB / 0.6387 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_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.002058/0.002058, allocations: 63.91 kB / 1.165 GB, free: 496 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8203, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2155/1.036, allocations: 190.7 MB / 1.526 GB, free: 9.379 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01706/1.053, allocations: 13.12 MB / 1.539 GB, free: 12.21 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/1.054, allocations: 39.69 kB / 1.539 GB, free: 12.18 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/1.055, allocations: 421.2 kB / 1.54 GB, free: 11.76 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002757/1.058, allocations: 0.9605 MB / 1.541 GB, free: 10.8 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/1.06, allocations: 0.7072 MB / 1.541 GB, free: 10.1 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001935/1.062, allocations: 1.489 MB / 1.543 GB, free: 8.605 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008282/1.063, allocations: 0.5492 MB / 1.543 GB, free: 8.047 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/1.067, allocations: 1.888 MB / 1.545 GB, free: 6.152 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/1.068, allocations: 0.5225 MB / 1.546 GB, free: 5.633 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-05/1.068, allocations: 55.94 kB / 1.546 GB, free: 5.578 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/1.07, allocations: 0.8965 MB / 1.547 GB, free: 4.68 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003598/1.07, allocations: 287.1 kB / 1.547 GB, free: 4.398 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/1.07, allocations: 394 kB / 1.547 GB, free: 4.012 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/1.072, allocations: 1.175 MB / 1.548 GB, free: 2.832 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.072, allocations: 4 kB / 1.548 GB, free: 2.828 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.032e-06/1.072, allocations: 0 / 1.548 GB, free: 2.828 MB / 1.217 GB Notification: Performance of Transformations before backend: time 9.568e-06/1.072, allocations: 0 / 1.548 GB, free: 2.828 MB / 1.217 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.001667/1.074, allocations: 1.079 MB / 1.549 GB, free: 1.695 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/1.074, allocations: 12.02 kB / 1.549 GB, free: 1.684 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.226e-05/1.074, allocations: 17.31 kB / 1.549 GB, free: 1.668 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/1.074, allocations: 102.5 kB / 1.55 GB, free: 1.559 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/1.075, allocations: 191.3 kB / 1.55 GB, free: 1.371 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008442/1.076, allocations: 0.5563 MB / 1.55 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/1.076, allocations: 49.31 kB / 1.55 GB, free: 0.7266 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/1.076, allocations: 52 kB / 1.55 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/1.077, allocations: 0.7711 MB / 1.551 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.077, allocations: 11.88 kB / 1.551 GB, free: 15.79 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/1.077, allocations: 28 kB / 1.551 GB, free: 15.76 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/1.077, allocations: 21 kB / 1.551 GB, free: 15.73 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000984/1.078, allocations: 463.3 kB / 1.552 GB, free: 15.29 MB / 1.232 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.00442/1.083, allocations: 4.471 MB / 1.556 GB, free: 10.56 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/1.083, allocations: 98.36 kB / 1.556 GB, free: 10.43 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.083, allocations: 71.58 kB / 1.556 GB, free: 10.35 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/1.083, allocations: 97.05 kB / 1.556 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/1.083, allocations: 38.55 kB / 1.556 GB, free: 10.19 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/1.083, allocations: 0 / 1.556 GB, free: 10.19 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006772/1.084, allocations: 249.2 kB / 1.557 GB, free: 9.938 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.084, allocations: 132.5 kB / 1.557 GB, free: 9.777 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/1.085, allocations: 0.8408 MB / 1.557 GB, free: 8.926 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/1.085, allocations: 29.77 kB / 1.558 GB, free: 8.891 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/1.085, allocations: 415.7 kB / 1.558 GB, free: 8.48 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/1.085, allocations: 47.67 kB / 1.558 GB, free: 8.434 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/1.086, allocations: 89.98 kB / 1.558 GB, free: 8.34 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.086, allocations: 322 kB / 1.558 GB, free: 8.02 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/1.086, allocations: 116.7 kB / 1.558 GB, free: 7.906 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004846/1.086, allocations: 366.3 kB / 1.559 GB, free: 7.438 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/1.087, allocations: 437.8 kB / 1.559 GB, free: 6.902 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.087, allocations: 4 kB / 1.559 GB, free: 6.898 MB / 1.232 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001031/1.088, allocations: 0.505 MB / 1.56 GB, free: 6.387 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.088, allocations: 8 kB / 1.56 GB, free: 6.379 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/1.088, allocations: 8 kB / 1.56 GB, free: 6.371 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.088, allocations: 8 kB / 1.56 GB, free: 6.363 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/1.089, allocations: 91.83 kB / 1.56 GB, free: 6.273 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.71e-05/1.089, allocations: 15.98 kB / 1.56 GB, free: 6.258 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/1.089, allocations: 123.3 kB / 1.56 GB, free: 6.137 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/1.089, allocations: 24 kB / 1.56 GB, free: 6.113 MB / 1.232 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.0002717/1.089, allocations: 229.6 kB / 1.56 GB, free: 5.879 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.09, allocations: 79.48 kB / 1.56 GB, free: 5.801 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/1.09, allocations: 78.17 kB / 1.56 GB, free: 5.723 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.09, allocations: 3.938 kB / 1.56 GB, free: 5.719 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.09, allocations: 4 kB / 1.56 GB, free: 5.715 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/1.09, allocations: 3.938 kB / 1.56 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.091, allocations: 1.124 MB / 1.561 GB, free: 4.496 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.091, allocations: 0 / 1.561 GB, free: 4.496 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-05/1.091, allocations: 19.98 kB / 1.561 GB, free: 4.477 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/1.091, allocations: 4 kB / 1.561 GB, free: 4.473 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.091, allocations: 4 kB / 1.561 GB, free: 4.469 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/1.091, allocations: 8.25 kB / 1.561 GB, free: 4.461 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.091, allocations: 4 kB / 1.562 GB, free: 4.457 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/1.092, allocations: 264.4 kB / 1.562 GB, free: 4.152 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/1.092, allocations: 176.5 kB / 1.562 GB, free: 3.961 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/1.092, allocations: 8 kB / 1.562 GB, free: 3.953 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/1.092, allocations: 19.98 kB / 1.562 GB, free: 3.934 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/1.092, allocations: 19.86 kB / 1.562 GB, free: 3.914 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/1.092, allocations: 8 kB / 1.562 GB, free: 3.906 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008389/1.093, allocations: 0.581 MB / 1.563 GB, free: 3.332 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/1.093, allocations: 0 / 1.563 GB, free: 3.332 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005622/1.094, allocations: 167.8 kB / 1.563 GB, free: 3.168 MB / 1.232 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.0009028/1.095, allocations: 0.873 MB / 1.564 GB, free: 2.246 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005172/1.095, allocations: 233.4 kB / 1.564 GB, free: 2.02 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.095, allocations: 0 / 1.564 GB, free: 2.02 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/1.095, allocations: 52.22 kB / 1.564 GB, free: 1.969 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/1.097, allocations: 375.8 kB / 1.564 GB, free: 1.605 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007763/1.104, allocations: 5.466 MB / 1.57 GB, free: 11.79 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006414/1.105, allocations: 0.9331 MB / 1.57 GB, free: 10.82 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.000511/1.106, allocations: 142.1 kB / 1.571 GB, free: 10.68 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/1.106, allocations: 235.3 kB / 1.571 GB, free: 10.45 MB / 1.248 GB Notification: Performance of SimCode: time 8.72e-07/1.106, allocations: 0 / 1.571 GB, free: 10.45 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06143/1.167, allocations: 18.14 MB / 1.589 GB, free: 8.703 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.99/10.16, allocations: 12.92 kB / 1.589 GB, free: 8.695 MB / 1.264 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.168466172006447]