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.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005039/0.005039, allocations: 99.34 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.00115/0.00115, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.801/2.801, allocations: 469.4 MB / 0.7421 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.284, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.807/1.091, allocations: 187.1 MB / 1.402 GB, free: 3.207 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01773/1.109, allocations: 13.02 MB / 1.415 GB, free: 8.656 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/1.111, allocations: 30.94 kB / 1.415 GB, free: 8.645 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/1.112, allocations: 416.8 kB / 1.416 GB, free: 8.301 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00287/1.115, allocations: 0.9716 MB / 1.417 GB, free: 7.543 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/1.117, allocations: 0.7143 MB / 1.417 GB, free: 7.012 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002224/1.119, allocations: 1.497 MB / 1.419 GB, free: 6.164 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/1.121, allocations: 0.6649 MB / 1.419 GB, free: 5.754 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/1.124, allocations: 1.771 MB / 1.421 GB, free: 4.586 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/1.126, allocations: 0.5079 MB / 1.422 GB, free: 4.285 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/1.126, allocations: 52.62 kB / 1.422 GB, free: 4.285 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/1.128, allocations: 0.88 MB / 1.423 GB, free: 3.805 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003116/1.128, allocations: 277.3 kB / 1.423 GB, free: 3.625 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/1.128, allocations: 385.5 kB / 1.423 GB, free: 3.379 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00185/1.13, allocations: 1.181 MB / 1.424 GB, free: 2.629 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.13, allocations: 0 / 1.424 GB, free: 2.629 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.383e-06/1.13, allocations: 0 / 1.424 GB, free: 2.629 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.989e-05/1.13, allocations: 0 / 1.424 GB, free: 2.629 MB / 1.107 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.132, allocations: 1.073 MB / 1.425 GB, free: 1.746 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/1.132, allocations: 13.16 kB / 1.425 GB, free: 1.742 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001172/1.132, allocations: 103.5 kB / 1.425 GB, free: 1.652 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009876/1.133, allocations: 200.7 kB / 1.426 GB, free: 1.555 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009001/1.134, allocations: 0.5507 MB / 1.426 GB, free: 1.105 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/1.134, allocations: 50.41 kB / 1.426 GB, free: 1.082 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.134, allocations: 54.03 kB / 1.426 GB, free: 1.066 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.135, allocations: 0.7758 MB / 1.427 GB, free: 448 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.135, allocations: 6.5 kB / 1.427 GB, free: 444 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/1.136, allocations: 31.41 kB / 1.427 GB, free: 420 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.979e-05/1.136, allocations: 20.81 kB / 1.427 GB, free: 420 kB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/1.136, allocations: 463.8 kB / 1.428 GB, free: 192 kB / 1.107 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.003852/1.14, allocations: 4.391 MB / 1.432 GB, free: 12.07 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/1.14, allocations: 98.86 kB / 1.432 GB, free: 11.96 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/1.141, allocations: 73.72 kB / 1.432 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/1.141, allocations: 97.78 kB / 1.432 GB, free: 11.8 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/1.141, allocations: 40.84 kB / 1.432 GB, free: 11.76 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.784e-06/1.141, allocations: 4 kB / 1.432 GB, free: 11.75 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.00066/1.141, allocations: 242.2 kB / 1.432 GB, free: 11.62 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.141, allocations: 135.1 kB / 1.433 GB, free: 11.46 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/1.143, allocations: 0.843 MB / 1.433 GB, free: 10.82 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/1.143, allocations: 33.64 kB / 1.433 GB, free: 10.78 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/1.143, allocations: 407.7 kB / 1.434 GB, free: 10.38 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/1.143, allocations: 43.69 kB / 1.434 GB, free: 10.34 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/1.143, allocations: 89.97 kB / 1.434 GB, free: 10.24 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.777e-05/1.143, allocations: 321.9 kB / 1.434 GB, free: 9.922 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002789/1.143, allocations: 120.6 kB / 1.434 GB, free: 9.805 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/1.144, allocations: 358 kB / 1.435 GB, free: 9.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/1.145, allocations: 445.5 kB / 1.435 GB, free: 8.797 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.145, allocations: 4 kB / 1.435 GB, free: 8.793 MB / 1.123 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00101/1.146, allocations: 0.4973 MB / 1.436 GB, free: 8.289 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/1.146, allocations: 8 kB / 1.436 GB, free: 8.281 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.146, allocations: 8 kB / 1.436 GB, free: 8.273 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.146, allocations: 12 kB / 1.436 GB, free: 8.262 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/1.146, allocations: 95.83 kB / 1.436 GB, free: 8.168 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/1.146, allocations: 16.36 kB / 1.436 GB, free: 8.152 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/1.147, allocations: 123.2 kB / 1.436 GB, free: 8.031 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.38e-05/1.147, allocations: 24 kB / 1.436 GB, free: 8.008 MB / 1.123 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.0002582/1.147, allocations: 237.6 kB / 1.436 GB, free: 7.766 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.147, allocations: 75.53 kB / 1.436 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/1.147, allocations: 70.17 kB / 1.436 GB, free: 7.621 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.147, allocations: 4 kB / 1.436 GB, free: 7.617 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.147, allocations: 0 / 1.436 GB, free: 7.617 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/1.147, allocations: 7.938 kB / 1.436 GB, free: 7.609 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/1.149, allocations: 1.113 MB / 1.437 GB, free: 6.406 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.149, allocations: 4 kB / 1.437 GB, free: 6.402 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/1.149, allocations: 20.25 kB / 1.437 GB, free: 6.383 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/1.149, allocations: 7.984 kB / 1.437 GB, free: 6.375 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/1.149, allocations: 8 kB / 1.437 GB, free: 6.367 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/1.149, allocations: 4.75 kB / 1.437 GB, free: 6.363 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/1.149, allocations: 7.938 kB / 1.437 GB, free: 6.355 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/1.149, allocations: 264.2 kB / 1.438 GB, free: 6.051 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/1.149, allocations: 168.6 kB / 1.438 GB, free: 5.867 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/1.15, allocations: 11.98 kB / 1.438 GB, free: 5.855 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/1.15, allocations: 19.98 kB / 1.438 GB, free: 5.836 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/1.15, allocations: 10.69 kB / 1.438 GB, free: 5.828 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.15, allocations: 8 kB / 1.438 GB, free: 5.82 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0008239/1.151, allocations: 0.6004 MB / 1.438 GB, free: 5.223 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.81e-07/1.151, allocations: 0 / 1.438 GB, free: 5.223 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005941/1.151, allocations: 151.8 kB / 1.439 GB, free: 5.074 MB / 1.123 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.0009024/1.152, allocations: 0.91 MB / 1.439 GB, free: 4.133 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000539/1.153, allocations: 241.1 kB / 1.44 GB, free: 3.898 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.153, allocations: 0 / 1.44 GB, free: 3.898 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/1.153, allocations: 47.86 kB / 1.44 GB, free: 3.852 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/1.155, allocations: 380 kB / 1.44 GB, free: 3.488 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/1.162, allocations: 5.466 MB / 1.445 GB, free: 13.66 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/1.162, allocations: 0.937 MB / 1.446 GB, free: 12.7 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005038/1.163, allocations: 146.1 kB / 1.446 GB, free: 12.55 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/1.163, allocations: 231.4 kB / 1.447 GB, free: 12.32 MB / 1.139 GB Notification: Performance of SimCode: time 9.31e-07/1.163, allocations: 0 / 1.447 GB, free: 12.32 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04022/1.203, allocations: 17.98 MB / 1.464 GB, free: 10.69 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.693/9.897, allocations: 19.06 kB / 1.464 GB, free: 10.67 MB / 1.154 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/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) Reference file matches