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.00195/0.00195, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002087/0.002087, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.824/2.824, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 65.34 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2623, allocations: 159.1 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2081/0.4704, allocations: 187.1 MB / 1.247 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4956/0.9661, allocations: 13 MB / 1.259 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009295/0.9671, allocations: 32.81 kB / 1.26 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.9681, allocations: 411.9 kB / 1.26 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.97, allocations: 0.9277 MB / 1.261 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.9717, allocations: 0.7001 MB / 1.262 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.973, allocations: 1.502 MB / 1.263 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.9738, allocations: 0.6524 MB / 1.264 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/0.9768, allocations: 1.718 MB / 1.265 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.9778, allocations: 0.5049 MB / 1.266 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.832e-05/0.9779, allocations: 53.56 kB / 1.266 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.9793, allocations: 0.8697 MB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.9796, allocations: 287.2 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003488/0.9799, allocations: 381 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.9813, allocations: 1.157 MB / 1.268 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9813, allocations: 0.9688 kB / 1.268 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9813, allocations: 2 kB / 1.268 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.9813, allocations: 0 / 1.268 GB, free: 4.527 MB / 0.9981 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.00143/0.9827, allocations: 1.043 MB / 1.269 GB, free: 19.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.9828, allocations: 10.19 kB / 1.269 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.9829, allocations: 108.3 kB / 1.27 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000908/0.9838, allocations: 191.1 kB / 1.27 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006963/0.9845, allocations: 0.5199 MB / 1.27 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003548/0.9849, allocations: 98.75 kB / 1.27 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.985, allocations: 58.45 kB / 1.27 GB, free: 19.53 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.986, allocations: 0.7863 MB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.986, allocations: 7.156 kB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.986, allocations: 26.25 kB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/0.9861, allocations: 28.34 kB / 1.271 GB, free: 19.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009175/0.987, allocations: 468.1 kB / 1.272 GB, free: 19.21 MB / 1.014 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.003984/0.991, allocations: 4.406 MB / 1.276 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.9911, allocations: 106.1 kB / 1.276 GB, free: 15.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.9913, allocations: 75.48 kB / 1.276 GB, free: 15.76 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.9914, allocations: 97.17 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.9915, allocations: 43.88 kB / 1.276 GB, free: 15.62 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.9915, allocations: 0 / 1.276 GB, free: 15.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006884/0.9922, allocations: 243.1 kB / 1.277 GB, free: 15.55 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.9923, allocations: 131.9 kB / 1.277 GB, free: 15.39 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.9935, allocations: 0.8504 MB / 1.277 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.9935, allocations: 31.41 kB / 1.278 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.9938, allocations: 403.3 kB / 1.278 GB, free: 15.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.9938, allocations: 37.48 kB / 1.278 GB, free: 15.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.9939, allocations: 89.47 kB / 1.278 GB, free: 14.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9941, allocations: 323.6 kB / 1.278 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/0.9944, allocations: 121.8 kB / 1.278 GB, free: 14.69 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.9948, allocations: 369.4 kB / 1.279 GB, free: 14.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005291/0.9954, allocations: 441.5 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9954, allocations: 3.656 kB / 1.279 GB, free: 14.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009952/0.9964, allocations: 0.5017 MB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.9964, allocations: 8.375 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.9964, allocations: 9.188 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.9965, allocations: 10.47 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.9968, allocations: 101.2 kB / 1.28 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/0.9969, allocations: 22.89 kB / 1.28 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007141/0.9976, allocations: 123.9 kB / 1.28 GB, free: 13.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.9976, allocations: 26.89 kB / 1.28 GB, free: 13.99 MB / 1.014 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.000262/0.9979, allocations: 227.1 kB / 1.28 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.9981, allocations: 76.55 kB / 1.28 GB, free: 13.84 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.9982, allocations: 70.64 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.9982, allocations: 2.781 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9982, allocations: 5.844 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.9982, allocations: 1.641 kB / 1.28 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.9996, allocations: 1.124 MB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.9996, allocations: 2.781 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.463e-05/0.9997, allocations: 16.16 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9998, allocations: 4.906 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.9998, allocations: 4.312 kB / 1.281 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.9998, allocations: 8.953 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.9998, allocations: 2.781 kB / 1.282 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/1, allocations: 265.9 kB / 1.282 GB, free: 12.96 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/1, allocations: 173 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1, allocations: 8.594 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/1.001, allocations: 18.06 kB / 1.282 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/1.001, allocations: 22.06 kB / 1.282 GB, free: 12.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/1.001, allocations: 4.875 kB / 1.282 GB, free: 12.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001007/1.002, allocations: 0.5931 MB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.002, allocations: 2.141 kB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005841/1.002, allocations: 161.3 kB / 1.283 GB, free: 12.71 MB / 1.014 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.0008684/1.003, allocations: 0.8889 MB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005162/1.004, allocations: 247.9 kB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.004, allocations: 1.469 kB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/1.004, allocations: 51.31 kB / 1.284 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1.006, allocations: 378.5 kB / 1.284 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006646/1.012, allocations: 5.729 MB / 1.29 GB, free: 9.383 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/1.013, allocations: 0.9388 MB / 1.291 GB, free: 8.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005441/1.013, allocations: 148.9 kB / 1.291 GB, free: 8.648 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/1.014, allocations: 233.4 kB / 1.291 GB, free: 8.641 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/1.014, allocations: 3.094 kB / 1.291 GB, free: 8.641 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/1.054, allocations: 17.82 MB / 1.309 GB, free: 7.301 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.902/8.957, allocations: 4.656 kB / 1.309 GB, free: 7.301 MB / 1.014 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 400 --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