Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007736/0.0007736, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007423/0.0007423, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8707/0.8707, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.644/1.644, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="Buildings_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.051e-05, allocations: 2.281 kB / 0.981 GB, free: 2.578 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5506/0.5506, allocations: 165.3 MB / 1.142 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.5627, allocations: 11.93 MB / 1.154 GB, free: 9.445 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.5639, allocations: 43.91 kB / 1.154 GB, free: 9.422 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.5651, allocations: 418.5 kB / 1.155 GB, free: 9.172 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.5672, allocations: 0.9805 MB / 1.156 GB, free: 8.617 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.569, allocations: 0.7652 MB / 1.156 GB, free: 8.234 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.5711, allocations: 1.514 MB / 1.158 GB, free: 7.531 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006856/0.5717, allocations: 499.1 kB / 1.158 GB, free: 7.297 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.5752, allocations: 2.051 MB / 1.16 GB, free: 6.371 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.5763, allocations: 466.4 kB / 1.161 GB, free: 6.234 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.5763, allocations: 53.25 kB / 1.161 GB, free: 6.234 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001274/0.5776, allocations: 0.7223 MB / 1.161 GB, free: 6.012 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.5779, allocations: 305.8 kB / 1.162 GB, free: 5.875 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.5781, allocations: 257 kB / 1.162 GB, free: 5.777 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5796, allocations: 1.185 MB / 1.163 GB, free: 5.359 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5796, allocations: 0 / 1.163 GB, free: 5.359 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5796, allocations: 1.188 kB / 1.163 GB, free: 5.359 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.5796, allocations: 0 / 1.163 GB, free: 5.359 MB / 1.01 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.001116/0.5808, allocations: 0.9942 MB / 1.164 GB, free: 4.645 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5808, allocations: 13.44 kB / 1.164 GB, free: 4.645 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.007e-05/0.5809, allocations: 99.89 kB / 1.164 GB, free: 4.57 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005897/0.5815, allocations: 197.9 kB / 1.164 GB, free: 4.512 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.5821, allocations: 496.2 kB / 1.165 GB, free: 4.199 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.5822, allocations: 46.44 kB / 1.165 GB, free: 4.176 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.5822, allocations: 58.47 kB / 1.165 GB, free: 4.156 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008336/0.583, allocations: 0.7939 MB / 1.166 GB, free: 3.629 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.5831, allocations: 6.625 kB / 1.166 GB, free: 3.625 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.5831, allocations: 23.31 kB / 1.166 GB, free: 3.609 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.5831, allocations: 26.23 kB / 1.166 GB, free: 3.609 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005997/0.5837, allocations: 470.7 kB / 1.166 GB, free: 3.445 MB / 1.01 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.002774/0.5865, allocations: 3.994 MB / 1.17 GB, free: 0 / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.5866, allocations: 102.8 kB / 1.17 GB, free: 15.89 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.5867, allocations: 68.52 kB / 1.17 GB, free: 15.84 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.5868, allocations: 27.7 kB / 1.17 GB, free: 15.83 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.5868, allocations: 38.8 kB / 1.17 GB, free: 15.79 MB / 1.026 GB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.5868, allocations: 0 / 1.17 GB, free: 15.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=10): time 0.0004564/0.5873, allocations: 240.4 kB / 1.171 GB, free: 15.68 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5873, allocations: 135.7 kB / 1.171 GB, free: 15.52 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.5882, allocations: 0.8557 MB / 1.172 GB, free: 15.17 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.5882, allocations: 26.77 kB / 1.172 GB, free: 15.14 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.5884, allocations: 416.4 kB / 1.172 GB, free: 14.81 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.5885, allocations: 42.17 kB / 1.172 GB, free: 14.78 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.699e-05/0.5885, allocations: 89.16 kB / 1.172 GB, free: 14.73 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.51e-05/0.5886, allocations: 327.2 kB / 1.172 GB, free: 14.41 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.5888, allocations: 110.1 kB / 1.173 GB, free: 14.38 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.5891, allocations: 0.51 MB / 1.173 GB, free: 13.85 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.5895, allocations: 437.5 kB / 1.173 GB, free: 13.46 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5895, allocations: 2.438 kB / 1.173 GB, free: 13.46 MB / 1.026 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005861/0.5901, allocations: 0.4974 MB / 1.174 GB, free: 13.26 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.5901, allocations: 8 kB / 1.174 GB, free: 13.26 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5901, allocations: 13.12 kB / 1.174 GB, free: 13.25 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5901, allocations: 10.59 kB / 1.174 GB, free: 13.25 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.5903, allocations: 95.59 kB / 1.174 GB, free: 13.24 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.5903, allocations: 16.92 kB / 1.174 GB, free: 13.24 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.5907, allocations: 115.1 kB / 1.174 GB, free: 13.18 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.5908, allocations: 25.25 kB / 1.174 GB, free: 13.18 MB / 1.026 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.0002/0.591, allocations: 232.2 kB / 1.174 GB, free: 13.01 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.591, allocations: 83.52 kB / 1.174 GB, free: 12.96 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.663e-05/0.5911, allocations: 68.97 kB / 1.175 GB, free: 12.93 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.5911, allocations: 2.312 kB / 1.175 GB, free: 12.93 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5911, allocations: 1.125 kB / 1.175 GB, free: 12.93 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5911, allocations: 1.781 kB / 1.175 GB, free: 12.93 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.5924, allocations: 1.046 MB / 1.176 GB, free: 12.12 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.5924, allocations: 2.141 kB / 1.176 GB, free: 12.12 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.5925, allocations: 20.33 kB / 1.176 GB, free: 12.12 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5925, allocations: 7.469 kB / 1.176 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.5925, allocations: 3.75 kB / 1.176 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5925, allocations: 3.828 kB / 1.176 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5925, allocations: 11.91 kB / 1.176 GB, free: 12.11 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.5927, allocations: 257.5 kB / 1.176 GB, free: 11.91 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.5928, allocations: 99.12 kB / 1.176 GB, free: 11.85 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.5929, allocations: 6.062 kB / 1.176 GB, free: 11.85 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.5931, allocations: 18.34 kB / 1.176 GB, free: 11.84 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.5931, allocations: 8.359 kB / 1.176 GB, free: 11.84 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.5931, allocations: 5.562 kB / 1.176 GB, free: 11.84 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0005639/0.5937, allocations: 0.5938 MB / 1.177 GB, free: 11.61 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5937, allocations: 3.938 kB / 1.177 GB, free: 11.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0004828/0.5941, allocations: 167.2 kB / 1.177 GB, free: 11.57 MB / 1.026 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.0006941/0.5948, allocations: 0.8752 MB / 1.178 GB, free: 10.81 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.5952, allocations: 238.3 kB / 1.178 GB, free: 10.73 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5952, allocations: 1.125 kB / 1.178 GB, free: 10.73 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.5952, allocations: 50.36 kB / 1.178 GB, free: 10.71 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009315/0.5962, allocations: 373.6 kB / 1.178 GB, free: 10.62 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00518/0.6014, allocations: 5.459 MB / 1.184 GB, free: 7.473 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.6016, allocations: 352 kB / 1.184 GB, free: 7.344 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0004374/0.602, allocations: 152.9 kB / 1.184 GB, free: 7.309 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.6022, allocations: 236.5 kB / 1.184 GB, free: 7.137 MB / 1.026 GB Notification: Performance of SimCode: time 8.91e-07/0.6022, allocations: 0 / 1.184 GB, free: 7.137 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.6354, allocations: 20.11 MB / 1.204 GB, free: 15.84 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.901/7.536, allocations: 3.984 kB / 1.204 GB, free: 15.83 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable const.k in file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv. Warning: Get data of variable const.k from file Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.46558855008334]