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.001253/0.001253, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001455/0.001455, allocations: 216.8 kB / 23.03 MB, free: 4.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.416/1.416, allocations: 230.6 MB / 256.8 MB, free: 7.797 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 3.064/3.064, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 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.001944/0.001944, allocations: 65.28 kB / 1.171 GB, free: 19.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3612, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2016/0.5628, allocations: 165.4 MB / 1.507 GB, free: 9.938 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01754/0.5803, allocations: 11.98 MB / 1.518 GB, free: 13.93 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.5822, allocations: 39.69 kB / 1.519 GB, free: 13.89 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.5842, allocations: 409.3 kB / 1.519 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003698/0.5879, allocations: 0.9566 MB / 1.52 GB, free: 12.52 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.5906, allocations: 0.7303 MB / 1.521 GB, free: 11.8 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002832/0.5934, allocations: 1.525 MB / 1.522 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001196/0.5946, allocations: 0.499 MB / 1.523 GB, free: 9.758 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004898/0.5995, allocations: 1.872 MB / 1.524 GB, free: 7.879 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.6012, allocations: 0.5211 MB / 1.525 GB, free: 7.359 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.6014, allocations: 56 kB / 1.525 GB, free: 7.305 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.603, allocations: 0.7288 MB / 1.526 GB, free: 6.574 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.6034, allocations: 283.1 kB / 1.526 GB, free: 6.297 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005697/0.604, allocations: 318.5 kB / 1.526 GB, free: 5.984 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002092/0.6061, allocations: 1.164 MB / 1.527 GB, free: 4.816 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6061, allocations: 0 / 1.527 GB, free: 4.816 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6061, allocations: 0 / 1.527 GB, free: 4.816 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.937e-05/0.6061, allocations: 0 / 1.527 GB, free: 4.816 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.001643/0.6078, allocations: 1.002 MB / 1.528 GB, free: 3.777 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.6078, allocations: 12.03 kB / 1.528 GB, free: 3.766 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.578e-05/0.6078, allocations: 17.31 kB / 1.528 GB, free: 3.75 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00011/0.6079, allocations: 102.5 kB / 1.528 GB, free: 3.641 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009531/0.6089, allocations: 195.3 kB / 1.529 GB, free: 3.449 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008812/0.6098, allocations: 0.492 MB / 1.529 GB, free: 2.926 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.6098, allocations: 45.3 kB / 1.529 GB, free: 2.883 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.52e-05/0.6099, allocations: 60 kB / 1.529 GB, free: 2.824 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.6112, allocations: 0.7962 MB / 1.53 GB, free: 1.914 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.6112, allocations: 11.88 kB / 1.53 GB, free: 1.902 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/0.6112, allocations: 24 kB / 1.53 GB, free: 1.879 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.6113, allocations: 21 kB / 1.53 GB, free: 1.859 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009179/0.6122, allocations: 463.3 kB / 1.53 GB, free: 1.406 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.004231/0.6164, allocations: 4.006 MB / 1.534 GB, free: 13.23 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.6166, allocations: 106.4 kB / 1.535 GB, free: 13.09 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.6167, allocations: 67.5 kB / 1.535 GB, free: 13.01 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.6168, allocations: 23.92 kB / 1.535 GB, free: 12.98 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.6169, allocations: 34.56 kB / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 2.534e-06/0.6169, allocations: 0 / 1.535 GB, free: 12.94 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0007097/0.6176, allocations: 253.1 kB / 1.535 GB, free: 12.69 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.6177, allocations: 132.5 kB / 1.535 GB, free: 12.53 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6188, allocations: 0.8486 MB / 1.536 GB, free: 11.67 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.6188, allocations: 25.7 kB / 1.536 GB, free: 11.64 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/0.6192, allocations: 415.6 kB / 1.536 GB, free: 11.23 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.6192, allocations: 43.75 kB / 1.536 GB, free: 11.18 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.6194, allocations: 93.97 kB / 1.536 GB, free: 11.09 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6195, allocations: 318 kB / 1.537 GB, free: 10.77 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.6198, allocations: 108.7 kB / 1.537 GB, free: 10.66 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.6204, allocations: 0.5117 MB / 1.537 GB, free: 10 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.621, allocations: 445.5 kB / 1.538 GB, free: 9.457 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.621, allocations: 4 kB / 1.538 GB, free: 9.453 MB / 1.232 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009687/0.622, allocations: 0.4973 MB / 1.538 GB, free: 8.949 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.622, allocations: 8 kB / 1.538 GB, free: 8.941 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.622, allocations: 8 kB / 1.538 GB, free: 8.934 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.6221, allocations: 12 kB / 1.538 GB, free: 8.922 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.6224, allocations: 96.3 kB / 1.538 GB, free: 8.828 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.6224, allocations: 12 kB / 1.538 GB, free: 8.816 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.623, allocations: 123.2 kB / 1.538 GB, free: 8.695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.6231, allocations: 27.94 kB / 1.538 GB, free: 8.668 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.0002756/0.6234, allocations: 225.7 kB / 1.539 GB, free: 8.438 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.6235, allocations: 83.55 kB / 1.539 GB, free: 8.355 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.6236, allocations: 70.22 kB / 1.539 GB, free: 8.281 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.6236, allocations: 4 kB / 1.539 GB, free: 8.277 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6236, allocations: 3.984 kB / 1.539 GB, free: 8.273 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6237, allocations: 7.938 kB / 1.539 GB, free: 8.266 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/0.625, allocations: 1.038 MB / 1.54 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.625, allocations: 0 / 1.54 GB, free: 7.145 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.6251, allocations: 16 kB / 1.54 GB, free: 7.129 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.6251, allocations: 4 kB / 1.54 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.6251, allocations: 4 kB / 1.54 GB, free: 7.121 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.6251, allocations: 7.922 kB / 1.54 GB, free: 7.113 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6251, allocations: 4 kB / 1.54 GB, free: 7.109 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003204/0.6255, allocations: 264.2 kB / 1.54 GB, free: 6.805 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.6257, allocations: 103.4 kB / 1.54 GB, free: 6.703 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.435e-05/0.6258, allocations: 8.156 kB / 1.54 GB, free: 6.695 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.6261, allocations: 19.98 kB / 1.54 GB, free: 6.676 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.6261, allocations: 23.86 kB / 1.54 GB, free: 6.652 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.6261, allocations: 4 kB / 1.54 GB, free: 6.648 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008514/0.627, allocations: 0.5888 MB / 1.541 GB, free: 6.066 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.627, allocations: 7.938 kB / 1.541 GB, free: 6.059 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005772/0.6276, allocations: 155.8 kB / 1.541 GB, free: 5.906 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.001003/0.6286, allocations: 0.8731 MB / 1.542 GB, free: 4.988 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005321/0.6291, allocations: 232.6 kB / 1.542 GB, free: 4.762 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.6291, allocations: 0 / 1.542 GB, free: 4.762 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.6292, allocations: 49.16 kB / 1.542 GB, free: 4.715 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.6307, allocations: 385.7 kB / 1.543 GB, free: 4.34 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007529/0.6383, allocations: 5.466 MB / 1.548 GB, free: 14.52 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.6386, allocations: 340.6 kB / 1.548 GB, free: 14.16 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004985/0.6391, allocations: 142.1 kB / 1.548 GB, free: 14.02 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.6394, allocations: 231.4 kB / 1.549 GB, free: 13.79 MB / 1.248 GB Notification: Performance of SimCode: time 9.92e-07/0.6394, allocations: 0 / 1.549 GB, free: 13.79 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.6866, allocations: 19.69 MB / 1.568 GB, free: 10.64 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.85, allocations: 15.97 kB / 1.568 GB, free: 10.63 MB / 1.264 GB " [Timeout remaining time 287] (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: 19.376623407006264]