Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 109.9 kB / 17.54 MB, free: 4.738 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 186.7 kB / 20.71 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.89 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7491, allocations: 168.7 MB / 1.271 GB, free: 7.238 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2017/0.9508, allocations: 188.3 MB / 1.455 GB, free: 8.207 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0163/0.9671, allocations: 13.23 MB / 1.468 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.9682, allocations: 31.81 kB / 1.468 GB, free: 10.91 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.9696, allocations: 437.1 kB / 1.469 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.9726, allocations: 1.202 MB / 1.47 GB, free: 9.273 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.9744, allocations: 0.7168 MB / 1.471 GB, free: 8.559 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.9769, allocations: 2.033 MB / 1.473 GB, free: 6.523 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000982/0.9779, allocations: 0.6247 MB / 1.473 GB, free: 5.875 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003646/0.9816, allocations: 1.876 MB / 1.475 GB, free: 3.992 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001559/0.9831, allocations: 0.7085 MB / 1.476 GB, free: 3.285 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.9833, allocations: 80 kB / 1.476 GB, free: 3.207 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.985, allocations: 0.9275 MB / 1.477 GB, free: 2.277 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004179/0.9854, allocations: 394.9 kB / 1.477 GB, free: 1.891 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006242/0.986, allocations: 0.5015 MB / 1.477 GB, free: 1.387 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002124/0.9881, allocations: 1.499 MB / 1.479 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.9881, allocations: 0 / 1.479 GB, free: 15.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9881, allocations: 0 / 1.479 GB, free: 15.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.9882, allocations: 0 / 1.479 GB, free: 15.88 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001942/0.9901, allocations: 1.265 MB / 1.48 GB, free: 14.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.9902, allocations: 8.031 kB / 1.48 GB, free: 14.56 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001482/0.9903, allocations: 130.5 kB / 1.48 GB, free: 14.42 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.9914, allocations: 227.1 kB / 1.481 GB, free: 14.2 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.9925, allocations: 0.6798 MB / 1.481 GB, free: 13.47 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.9926, allocations: 62 kB / 1.481 GB, free: 13.41 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.9927, allocations: 83.98 kB / 1.481 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.994, allocations: 0.9326 MB / 1.482 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.994, allocations: 11.98 kB / 1.482 GB, free: 12.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.9941, allocations: 31.94 kB / 1.482 GB, free: 12.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.176e-05/0.9942, allocations: 37.25 kB / 1.482 GB, free: 12.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.9952, allocations: 0.6138 MB / 1.483 GB, free: 11.62 MB / 1.17 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.004376/0.9995, allocations: 4.594 MB / 1.487 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/1, allocations: 0.5167 MB / 1.488 GB, free: 6.16 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003365/1.001, allocations: 230.4 kB / 1.488 GB, free: 5.926 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001754/1.001, allocations: 105.1 kB / 1.488 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.001, allocations: 42.56 kB / 1.488 GB, free: 5.754 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 1.883e-06/1.001, allocations: 0 / 1.488 GB, free: 5.754 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.002718/1.004, allocations: 1.621 MB / 1.49 GB, free: 4.078 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/1.004, allocations: 106.8 kB / 1.49 GB, free: 3.949 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/1.004, allocations: 0.7158 MB / 1.491 GB, free: 3.223 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/1.005, allocations: 37.7 kB / 1.491 GB, free: 3.18 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/1.005, allocations: 420.5 kB / 1.491 GB, free: 2.762 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/1.005, allocations: 174.5 kB / 1.491 GB, free: 2.59 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001669/1.005, allocations: 122.2 kB / 1.491 GB, free: 2.461 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.005, allocations: 330 kB / 1.492 GB, free: 2.133 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/1.006, allocations: 193.1 kB / 1.492 GB, free: 1.945 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/1.006, allocations: 417 kB / 1.492 GB, free: 1.441 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/1.008, allocations: 1.179 MB / 1.493 GB, free: 164 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.008, allocations: 7.922 kB / 1.493 GB, free: 156 kB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009965/1.009, allocations: 0.6757 MB / 1.494 GB, free: 15.47 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.009, allocations: 8 kB / 1.494 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.009, allocations: 8.781 kB / 1.494 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/1.009, allocations: 8 kB / 1.494 GB, free: 15.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/1.01, allocations: 131.8 kB / 1.494 GB, free: 15.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/1.01, allocations: 11.94 kB / 1.494 GB, free: 15.3 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005013/1.01, allocations: 27.98 kB / 1.494 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/1.01, allocations: 28 kB / 1.494 GB, free: 15.25 MB / 1.186 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0003331/1.011, allocations: 283 kB / 1.495 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/1.011, allocations: 87.42 kB / 1.495 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/1.011, allocations: 91.66 kB / 1.495 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/1.011, allocations: 4 kB / 1.495 GB, free: 14.79 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.011, allocations: 11.94 kB / 1.495 GB, free: 14.77 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007034/1.012, allocations: 0.6911 MB / 1.495 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/1.014, allocations: 1.648 MB / 1.497 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.014, allocations: 8.125 kB / 1.497 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004357/1.014, allocations: 103.8 kB / 1.497 GB, free: 12.13 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/1.014, allocations: 8 kB / 1.497 GB, free: 12.12 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/1.014, allocations: 19.98 kB / 1.497 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.014, allocations: 4 kB / 1.497 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.014, allocations: 4 kB / 1.497 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/1.015, allocations: 0.8727 MB / 1.498 GB, free: 11.15 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/1.016, allocations: 224.4 kB / 1.498 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/1.016, allocations: 8 kB / 1.498 GB, free: 10.91 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/1.016, allocations: 23.98 kB / 1.498 GB, free: 10.88 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/1.016, allocations: 39.84 kB / 1.498 GB, free: 10.84 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/1.016, allocations: 19.98 kB / 1.498 GB, free: 10.82 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005961/1.017, allocations: 0.5107 MB / 1.499 GB, free: 10.32 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.017, allocations: 0 / 1.499 GB, free: 10.32 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006332/1.018, allocations: 200 kB / 1.499 GB, free: 10.12 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * 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 (45): * Single equations (assignments): 45 * 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.001651/1.019, allocations: 1.503 MB / 1.5 GB, free: 8.562 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007453/1.02, allocations: 464.5 kB / 1.501 GB, free: 8.109 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.02, allocations: 4 kB / 1.501 GB, free: 8.105 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002883/1.02, allocations: 195.7 kB / 1.501 GB, free: 7.914 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/1.022, allocations: 478.5 kB / 1.502 GB, free: 7.461 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/1.03, allocations: 6.635 MB / 1.508 GB, free: 436 kB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/1.031, allocations: 1.028 MB / 1.509 GB, free: 15.37 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005678/1.032, allocations: 203 kB / 1.509 GB, free: 15.17 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/1.032, allocations: 299.3 kB / 1.51 GB, free: 14.88 MB / 1.201 GB Notification: Performance of SimCode: time 8.12e-07/1.032, allocations: 0 / 1.51 GB, free: 14.88 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05249/1.085, allocations: 22.37 MB / 1.531 GB, free: 8.855 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.343/9.428, allocations: 4.062 kB / 1.531 GB, free: 8.852 MB / 1.217 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable senTraSubIn.C in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv. Warning: Get data of variable senTraSubIn.C from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv failed! Error: Could not read variable senTraSubOut.C in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv. Warning: Get data of variable senTraSubOut.C from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv failed! Error: Could not read variable cheConMas.y in file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv. Warning: Get data of variable cheConMas.y from file Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.863500342005864]