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.001308/0.001308, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.001487/0.001487, allocations: 214.7 kB / 22.25 MB, free: 4.867 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.346/1.346, allocations: 230.6 MB / 256 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 2.944/2.944, allocations: 0.5107 GB / 0.8158 GB, free: 17.76 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",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.001902/0.001902, allocations: 69.23 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.28, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.183/0.463, allocations: 165.5 MB / 1.525 GB, free: 7.906 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01486/0.4779, allocations: 11.98 MB / 1.537 GB, free: 11.9 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006987/0.4786, allocations: 39.69 kB / 1.537 GB, free: 11.86 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.4797, allocations: 413.3 kB / 1.537 GB, free: 11.45 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.002216/0.4819, allocations: 0.9488 MB / 1.538 GB, free: 10.5 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.4837, allocations: 0.7302 MB / 1.539 GB, free: 9.777 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001974/0.4857, allocations: 1.508 MB / 1.54 GB, free: 8.266 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.4865, allocations: 499 kB / 1.541 GB, free: 7.758 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003694/0.4902, allocations: 1.876 MB / 1.543 GB, free: 5.875 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.4914, allocations: 0.5018 MB / 1.543 GB, free: 5.375 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.4915, allocations: 56 kB / 1.543 GB, free: 5.32 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4928, allocations: 0.7171 MB / 1.544 GB, free: 4.602 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.4931, allocations: 279.1 kB / 1.544 GB, free: 4.328 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003388/0.4934, allocations: 318.5 kB / 1.544 GB, free: 4.016 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4949, allocations: 1.16 MB / 1.546 GB, free: 2.852 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4949, allocations: 0 / 1.546 GB, free: 2.852 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4949, allocations: 0 / 1.546 GB, free: 2.852 MB / 1.232 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.4949, allocations: 0 / 1.546 GB, free: 2.852 MB / 1.232 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.001424/0.4964, allocations: 1.006 MB / 1.547 GB, free: 1.809 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.4964, allocations: 8.031 kB / 1.547 GB, free: 1.801 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.4965, allocations: 98.52 kB / 1.547 GB, free: 1.695 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000869/0.4974, allocations: 199.2 kB / 1.547 GB, free: 1.5 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009257/0.4983, allocations: 499.8 kB / 1.547 GB, free: 0.9922 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.4984, allocations: 45.31 kB / 1.547 GB, free: 0.9453 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.4985, allocations: 60 kB / 1.547 GB, free: 0.8867 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4997, allocations: 0.8001 MB / 1.548 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.4997, allocations: 3.938 kB / 1.548 GB, free: 15.97 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.4998, allocations: 27.94 kB / 1.548 GB, free: 15.94 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.4998, allocations: 24.94 kB / 1.548 GB, free: 15.92 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009421/0.5007, allocations: 463.2 kB / 1.549 GB, free: 15.46 MB / 1.248 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.003855/0.5046, allocations: 4.014 MB / 1.553 GB, free: 11.27 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.5047, allocations: 106.4 kB / 1.553 GB, free: 11.13 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.5048, allocations: 67.5 kB / 1.553 GB, free: 11.05 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.505, allocations: 15.98 kB / 1.553 GB, free: 11.04 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.505, allocations: 42.5 kB / 1.553 GB, free: 10.99 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.505, allocations: 0 / 1.553 GB, free: 10.99 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.0006511/0.5057, allocations: 249 kB / 1.553 GB, free: 10.74 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.5057, allocations: 132.5 kB / 1.553 GB, free: 10.58 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.5068, allocations: 0.8563 MB / 1.554 GB, free: 9.715 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.5069, allocations: 29.95 kB / 1.554 GB, free: 9.68 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.5072, allocations: 415.6 kB / 1.554 GB, free: 9.27 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.5072, allocations: 35.69 kB / 1.554 GB, free: 9.234 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.5074, allocations: 93.97 kB / 1.555 GB, free: 9.137 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5075, allocations: 321.9 kB / 1.555 GB, free: 8.816 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.5078, allocations: 112.7 kB / 1.555 GB, free: 8.707 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.5083, allocations: 0.5078 MB / 1.555 GB, free: 8.047 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/0.5089, allocations: 445.5 kB / 1.556 GB, free: 7.504 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5089, allocations: 0 / 1.556 GB, free: 7.504 MB / 1.248 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009316/0.5099, allocations: 0.4973 MB / 1.556 GB, free: 7 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5099, allocations: 8 kB / 1.556 GB, free: 6.992 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.5099, allocations: 15.92 kB / 1.556 GB, free: 6.977 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.5099, allocations: 12 kB / 1.556 GB, free: 6.965 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.5102, allocations: 92.55 kB / 1.556 GB, free: 6.875 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.5103, allocations: 11.94 kB / 1.556 GB, free: 6.863 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/0.5109, allocations: 119.2 kB / 1.557 GB, free: 6.746 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-05/0.5109, allocations: 28 kB / 1.557 GB, free: 6.719 MB / 1.248 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.0002679/0.5112, allocations: 225.6 kB / 1.557 GB, free: 6.488 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5113, allocations: 83.47 kB / 1.557 GB, free: 6.406 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.5115, allocations: 74.27 kB / 1.557 GB, free: 6.328 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5115, allocations: 4 kB / 1.557 GB, free: 6.324 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5115, allocations: 3.938 kB / 1.557 GB, free: 6.32 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.5115, allocations: 7.922 kB / 1.557 GB, free: 6.312 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.5129, allocations: 1.049 MB / 1.558 GB, free: 5.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5129, allocations: 0 / 1.558 GB, free: 5.18 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.911e-05/0.5129, allocations: 16 kB / 1.558 GB, free: 5.164 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.5129, allocations: 4 kB / 1.558 GB, free: 5.16 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.513, allocations: 4 kB / 1.558 GB, free: 5.156 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.513, allocations: 3.938 kB / 1.558 GB, free: 5.152 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.513, allocations: 4 kB / 1.558 GB, free: 5.148 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.5133, allocations: 268.4 kB / 1.558 GB, free: 4.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.5135, allocations: 103.4 kB / 1.558 GB, free: 4.738 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.659e-05/0.5136, allocations: 4 kB / 1.558 GB, free: 4.734 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.5139, allocations: 19.98 kB / 1.558 GB, free: 4.715 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.5139, allocations: 15.86 kB / 1.558 GB, free: 4.699 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.5139, allocations: 8 kB / 1.558 GB, free: 4.691 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0008221/0.5147, allocations: 0.5849 MB / 1.559 GB, free: 4.109 MB / 1.248 GB Notification: Performance of sort global known variables: time 9e-08/0.5147, allocations: 4 kB / 1.559 GB, free: 4.105 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005612/0.5153, allocations: 155.8 kB / 1.559 GB, free: 3.953 MB / 1.248 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.0009377/0.5162, allocations: 0.8734 MB / 1.56 GB, free: 3.035 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005305/0.5168, allocations: 233.3 kB / 1.56 GB, free: 2.809 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.5168, allocations: 4 kB / 1.56 GB, free: 2.805 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.5168, allocations: 56.28 kB / 1.56 GB, free: 2.75 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5184, allocations: 376.9 kB / 1.561 GB, free: 2.391 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007069/0.5254, allocations: 5.474 MB / 1.566 GB, free: 12.55 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.5258, allocations: 340.6 kB / 1.566 GB, free: 12.2 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0004581/0.5262, allocations: 146.1 kB / 1.567 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002892/0.5265, allocations: 235.3 kB / 1.567 GB, free: 11.82 MB / 1.264 GB Notification: Performance of SimCode: time 7.01e-07/0.5265, allocations: 0 / 1.567 GB, free: 11.82 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.5778, allocations: 20.07 MB / 1.586 GB, free: 8.25 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.29, allocations: 10.33 kB / 1.586 GB, free: 8.242 MB / 1.279 GB " [Timeout remaining time 289] (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: 17.328421661630273]