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.001179/0.001179, allocations: 110.8 kB / 17.54 MB, free: 4.641 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.001185/0.001185, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.29/1.29, allocations: 225.6 MB / 249.3 MB, free: 3.316 MB / 190.1 MB " [Timeout remaining time 179] 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.49/2.49, 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.001776/0.001776, allocations: 67.89 kB / 1.107 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7371, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.2002/0.9373, allocations: 188.3 MB / 1.455 GB, free: 8.402 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.9525, allocations: 13.23 MB / 1.468 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009826/0.9535, allocations: 31.81 kB / 1.468 GB, free: 11.11 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.9546, allocations: 441.1 kB / 1.469 GB, free: 10.68 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.9572, allocations: 1.194 MB / 1.47 GB, free: 9.477 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001593/0.9588, allocations: 0.7198 MB / 1.471 GB, free: 8.762 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002231/0.961, allocations: 2.035 MB / 1.473 GB, free: 6.723 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008298/0.9618, allocations: 0.6246 MB / 1.473 GB, free: 6.074 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003373/0.9652, allocations: 1.876 MB / 1.475 GB, free: 4.191 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.9665, allocations: 0.7152 MB / 1.476 GB, free: 3.48 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.9666, allocations: 80 kB / 1.476 GB, free: 3.402 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.9682, allocations: 0.9275 MB / 1.477 GB, free: 2.473 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003849/0.9686, allocations: 394.8 kB / 1.477 GB, free: 2.086 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004895/0.9691, allocations: 0.4977 MB / 1.477 GB, free: 1.586 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.9709, allocations: 1.502 MB / 1.479 GB, free: 80 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9709, allocations: 0 / 1.479 GB, free: 80 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.212e-06/0.9709, allocations: 0 / 1.479 GB, free: 80 kB / 1.154 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.9709, allocations: 0 / 1.479 GB, free: 80 kB / 1.154 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.001689/0.9726, allocations: 1.265 MB / 1.48 GB, free: 14.76 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.9726, allocations: 8.031 kB / 1.48 GB, free: 14.75 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/0.9727, allocations: 122.5 kB / 1.48 GB, free: 14.62 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001092/0.9738, allocations: 235.1 kB / 1.481 GB, free: 14.39 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.9748, allocations: 0.6837 MB / 1.481 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.9749, allocations: 57.94 kB / 1.481 GB, free: 13.61 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.975, allocations: 76 kB / 1.481 GB, free: 13.53 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.9762, allocations: 0.9404 MB / 1.482 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.9763, allocations: 3.938 kB / 1.482 GB, free: 12.5 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.116e-05/0.9763, allocations: 35.94 kB / 1.482 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.9764, allocations: 29.31 kB / 1.482 GB, free: 12.44 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009453/0.9773, allocations: 0.6177 MB / 1.483 GB, free: 11.82 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.004066/0.9814, allocations: 4.59 MB / 1.487 GB, free: 6.934 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.9821, allocations: 0.527 MB / 1.488 GB, free: 6.363 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.9824, allocations: 226.5 kB / 1.488 GB, free: 6.133 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001689/0.9826, allocations: 109.1 kB / 1.488 GB, free: 6.008 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.9826, allocations: 42.56 kB / 1.488 GB, free: 5.957 MB / 1.17 GB Notification: Performance of pre-optimization done (n=43): time 1.824e-06/0.9826, allocations: 0 / 1.488 GB, free: 5.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=45): time 0.002554/0.9852, allocations: 1.617 MB / 1.49 GB, free: 4.285 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.9853, allocations: 114.8 kB / 1.49 GB, free: 4.148 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007849/0.9861, allocations: 0.7155 MB / 1.491 GB, free: 3.422 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.9861, allocations: 37.7 kB / 1.491 GB, free: 3.379 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/0.9864, allocations: 420.5 kB / 1.491 GB, free: 2.961 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.9865, allocations: 174.5 kB / 1.491 GB, free: 2.789 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.9867, allocations: 122.2 kB / 1.491 GB, free: 2.66 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.9868, allocations: 334 kB / 1.492 GB, free: 2.328 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.9871, allocations: 189.2 kB / 1.492 GB, free: 2.145 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.9876, allocations: 413 kB / 1.492 GB, free: 1.645 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.002169/0.9897, allocations: 1.183 MB / 1.493 GB, free: 368 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9897, allocations: 0 / 1.493 GB, free: 368 kB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009933/0.9907, allocations: 0.6764 MB / 1.494 GB, free: 15.68 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9908, allocations: 8 kB / 1.494 GB, free: 15.67 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.9908, allocations: 12.03 kB / 1.494 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.9908, allocations: 8 kB / 1.494 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.9912, allocations: 131.8 kB / 1.494 GB, free: 15.52 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.9912, allocations: 11.94 kB / 1.494 GB, free: 15.51 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.9918, allocations: 23.98 kB / 1.494 GB, free: 15.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.9918, allocations: 32 kB / 1.494 GB, free: 15.45 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.0003515/0.9922, allocations: 279 kB / 1.495 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.9923, allocations: 87.42 kB / 1.495 GB, free: 15.09 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.9925, allocations: 95.66 kB / 1.495 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9925, allocations: 4 kB / 1.495 GB, free: 14.99 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.9925, allocations: 4 kB / 1.495 GB, free: 14.98 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007043/0.9932, allocations: 0.6911 MB / 1.495 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.9954, allocations: 1.647 MB / 1.497 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.9954, allocations: 7.938 kB / 1.497 GB, free: 12.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004405/0.9959, allocations: 99.89 kB / 1.497 GB, free: 12.35 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.9959, allocations: 12 kB / 1.497 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.9959, allocations: 16 kB / 1.497 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.9959, allocations: 7.984 kB / 1.497 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.9959, allocations: 7.938 kB / 1.497 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.997, allocations: 0.8691 MB / 1.498 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.9972, allocations: 216.5 kB / 1.498 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/0.9973, allocations: 16 kB / 1.498 GB, free: 11.12 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.9977, allocations: 27.88 kB / 1.498 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.9978, allocations: 39.92 kB / 1.498 GB, free: 11.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.9978, allocations: 19.98 kB / 1.498 GB, free: 11.03 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005918/0.9984, allocations: 0.5068 MB / 1.499 GB, free: 10.53 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9984, allocations: 7.938 kB / 1.499 GB, free: 10.52 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006498/0.9991, allocations: 204 kB / 1.499 GB, free: 10.32 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.001624/1.001, allocations: 1.491 MB / 1.5 GB, free: 8.77 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007322/1.001, allocations: 467.7 kB / 1.501 GB, free: 8.312 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.001, allocations: 3.938 kB / 1.501 GB, free: 8.309 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/1.002, allocations: 201.9 kB / 1.501 GB, free: 8.113 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/1.004, allocations: 482.5 kB / 1.502 GB, free: 7.656 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/1.012, allocations: 6.624 MB / 1.508 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/1.012, allocations: 1.028 MB / 1.509 GB, free: 15.58 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0005989/1.013, allocations: 203 kB / 1.509 GB, free: 15.38 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003984/1.013, allocations: 299.3 kB / 1.51 GB, free: 15.08 MB / 1.201 GB Notification: Performance of SimCode: time 7.92e-07/1.013, allocations: 0 / 1.51 GB, free: 15.08 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05107/1.064, allocations: 22.37 MB / 1.531 GB, free: 9.062 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.326/9.39, allocations: 10.06 kB / 1.531 GB, free: 9.055 MB / 1.217 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.653847872999904]