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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007649/0.007649, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001905/0.001906, allocations: 192.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.721/2.721, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00247/0.00247, allocations: 63.91 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7936/0.7961, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2118/1.008, allocations: 187.1 MB / 1.403 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01655/1.024, allocations: 13.03 MB / 1.416 GB, free: 9.191 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.026, allocations: 35.75 kB / 1.416 GB, free: 9.156 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001196/1.027, allocations: 417.2 kB / 1.416 GB, free: 8.746 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0023/1.029, allocations: 0.9175 MB / 1.417 GB, free: 7.824 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/1.031, allocations: 0.7112 MB / 1.418 GB, free: 7.117 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002084/1.033, allocations: 1.509 MB / 1.419 GB, free: 5.605 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009829/1.034, allocations: 0.6594 MB / 1.42 GB, free: 4.93 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/1.038, allocations: 1.72 MB / 1.421 GB, free: 3.203 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/1.039, allocations: 0.5103 MB / 1.422 GB, free: 2.699 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/1.039, allocations: 52 kB / 1.422 GB, free: 2.648 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/1.041, allocations: 0.8731 MB / 1.423 GB, free: 1.773 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/1.041, allocations: 279.1 kB / 1.423 GB, free: 1.5 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/1.042, allocations: 386 kB / 1.423 GB, free: 1.121 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/1.043, allocations: 1.179 MB / 1.425 GB, free: 15.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/1.043, allocations: 0 / 1.425 GB, free: 15.93 MB / 1.154 GB Notification: Performance of FrontEnd: time 3.316e-06/1.043, allocations: 4 kB / 1.425 GB, free: 15.93 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.043, allocations: 0 / 1.425 GB, free: 15.93 MB / 1.154 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.001543/1.045, allocations: 1.074 MB / 1.426 GB, free: 14.8 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.045, allocations: 8.625 kB / 1.426 GB, free: 14.8 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/1.045, allocations: 98.52 kB / 1.426 GB, free: 14.69 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009429/1.046, allocations: 199.2 kB / 1.426 GB, free: 14.5 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008537/1.047, allocations: 0.5602 MB / 1.427 GB, free: 13.9 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/1.047, allocations: 45.31 kB / 1.427 GB, free: 13.86 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.387e-05/1.047, allocations: 56 kB / 1.427 GB, free: 13.8 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/1.048, allocations: 0.7789 MB / 1.427 GB, free: 12.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.048, allocations: 7.938 kB / 1.427 GB, free: 12.9 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.937e-05/1.048, allocations: 31.94 kB / 1.427 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/1.048, allocations: 21 kB / 1.427 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009572/1.049, allocations: 459.3 kB / 1.428 GB, free: 12.4 MB / 1.154 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.004407/1.054, allocations: 4.387 MB / 1.432 GB, free: 7.785 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/1.054, allocations: 102.4 kB / 1.432 GB, free: 7.648 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/1.054, allocations: 67.59 kB / 1.432 GB, free: 7.57 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/1.054, allocations: 97.09 kB / 1.432 GB, free: 7.457 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/1.054, allocations: 46.48 kB / 1.432 GB, free: 7.402 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/1.054, allocations: 0 / 1.432 GB, free: 7.402 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.000678/1.055, allocations: 241 kB / 1.433 GB, free: 7.16 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/1.055, allocations: 136.8 kB / 1.433 GB, free: 6.996 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/1.056, allocations: 0.8408 MB / 1.434 GB, free: 6.145 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/1.056, allocations: 29.64 kB / 1.434 GB, free: 6.109 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/1.057, allocations: 411.7 kB / 1.434 GB, free: 5.703 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/1.057, allocations: 35.69 kB / 1.434 GB, free: 5.668 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.057, allocations: 97.97 kB / 1.434 GB, free: 5.566 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.057, allocations: 325.9 kB / 1.434 GB, free: 5.242 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/1.057, allocations: 112.7 kB / 1.435 GB, free: 5.133 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/1.058, allocations: 362 kB / 1.435 GB, free: 4.664 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/1.059, allocations: 445.8 kB / 1.435 GB, free: 4.121 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.059, allocations: 4 kB / 1.435 GB, free: 4.117 MB / 1.154 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009806/1.06, allocations: 0.4935 MB / 1.436 GB, free: 3.617 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.06, allocations: 8 kB / 1.436 GB, free: 3.609 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/1.06, allocations: 15.97 kB / 1.436 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/1.06, allocations: 11.94 kB / 1.436 GB, free: 3.582 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/1.06, allocations: 92.02 kB / 1.436 GB, free: 3.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/1.06, allocations: 19.92 kB / 1.436 GB, free: 3.473 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/1.061, allocations: 123.2 kB / 1.436 GB, free: 3.352 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/1.061, allocations: 24 kB / 1.436 GB, free: 3.328 MB / 1.154 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.0002686/1.061, allocations: 229.6 kB / 1.436 GB, free: 3.094 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/1.061, allocations: 75.53 kB / 1.436 GB, free: 3.02 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/1.061, allocations: 74.17 kB / 1.436 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.061, allocations: 0 / 1.436 GB, free: 2.941 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.061, allocations: 4 kB / 1.436 GB, free: 2.938 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/1.061, allocations: 7.938 kB / 1.437 GB, free: 2.93 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/1.063, allocations: 1.124 MB / 1.438 GB, free: 1.715 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.063, allocations: 0 / 1.438 GB, free: 1.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.764e-05/1.063, allocations: 19.98 kB / 1.438 GB, free: 1.695 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.063, allocations: 4 kB / 1.438 GB, free: 1.691 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/1.063, allocations: 4 kB / 1.438 GB, free: 1.688 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/1.063, allocations: 3.938 kB / 1.438 GB, free: 1.684 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.063, allocations: 4 kB / 1.438 GB, free: 1.68 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/1.063, allocations: 272.5 kB / 1.438 GB, free: 1.367 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/1.064, allocations: 172.6 kB / 1.438 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.527e-05/1.064, allocations: 4 kB / 1.438 GB, free: 1.176 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/1.064, allocations: 19.98 kB / 1.438 GB, free: 1.156 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/1.064, allocations: 19.86 kB / 1.438 GB, free: 1.137 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/1.064, allocations: 4.094 kB / 1.438 GB, free: 1.133 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008788/1.065, allocations: 0.5887 MB / 1.439 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.065, allocations: 0 / 1.439 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005896/1.065, allocations: 159.8 kB / 1.439 GB, free: 400 kB / 1.154 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.001033/1.067, allocations: 0.8952 MB / 1.44 GB, free: 15.45 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0005419/1.067, allocations: 240.4 kB / 1.44 GB, free: 15.22 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.067, allocations: 1.125 kB / 1.44 GB, free: 15.22 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.35e-05/1.067, allocations: 52.23 kB / 1.44 GB, free: 15.17 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.069, allocations: 394.7 kB / 1.44 GB, free: 14.8 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007504/1.076, allocations: 5.466 MB / 1.446 GB, free: 8.977 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/1.077, allocations: 0.937 MB / 1.447 GB, free: 8.012 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005229/1.078, allocations: 146.1 kB / 1.447 GB, free: 7.867 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/1.078, allocations: 231.4 kB / 1.447 GB, free: 7.641 MB / 1.17 GB Notification: Performance of SimCode: time 7.32e-07/1.078, allocations: 0 / 1.447 GB, free: 7.641 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04868/1.127, allocations: 17.99 MB / 1.465 GB, free: 6.016 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.277/10.4, allocations: 4.984 kB / 1.465 GB, free: 6.012 MB / 1.186 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/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) Reference file matches