Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.001186/0.001186, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.00133/0.00133, allocations: 213.9 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.428/1.428, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.218/3.218, allocations: 0.5003 GB / 0.8062 GB, free: 28.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.77 kB / 1.171 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3504, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1967/0.5471, allocations: 165.5 MB / 1.507 GB, free: 9.785 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0166/0.5637, allocations: 12.01 MB / 1.519 GB, free: 13.74 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.5647, allocations: 43.62 kB / 1.519 GB, free: 13.7 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.566, allocations: 429.1 kB / 1.519 GB, free: 13.28 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002925/0.5689, allocations: 1.202 MB / 1.52 GB, free: 12.07 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.5707, allocations: 0.7373 MB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002559/0.5732, allocations: 2.047 MB / 1.523 GB, free: 9.281 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009081/0.5741, allocations: 0.6293 MB / 1.524 GB, free: 8.633 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004292/0.5784, allocations: 2.004 MB / 1.526 GB, free: 6.621 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.5802, allocations: 0.7011 MB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.5803, allocations: 80 kB / 1.526 GB, free: 5.844 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.582, allocations: 0.7287 MB / 1.527 GB, free: 5.113 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004573/0.5824, allocations: 398.8 kB / 1.527 GB, free: 4.723 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006478/0.5831, allocations: 422.1 kB / 1.528 GB, free: 4.309 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.5853, allocations: 1.487 MB / 1.529 GB, free: 2.816 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5853, allocations: 3.938 kB / 1.529 GB, free: 2.812 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5853, allocations: 0 / 1.529 GB, free: 2.812 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.5853, allocations: 0 / 1.529 GB, free: 2.812 MB / 1.217 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.002048/0.5873, allocations: 1.186 MB / 1.53 GB, free: 1.59 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5874, allocations: 8.031 kB / 1.53 GB, free: 1.582 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.921e-05/0.5874, allocations: 22 kB / 1.53 GB, free: 1.562 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.5875, allocations: 126.5 kB / 1.531 GB, free: 1.43 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.5888, allocations: 219.2 kB / 1.531 GB, free: 1.215 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5899, allocations: 0.6077 MB / 1.531 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.59, allocations: 62 kB / 1.531 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5901, allocations: 80 kB / 1.532 GB, free: 452 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.5917, allocations: 1.058 MB / 1.533 GB, free: 15.27 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.5917, allocations: 7.938 kB / 1.533 GB, free: 15.26 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/0.5918, allocations: 32 kB / 1.533 GB, free: 15.23 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.931e-05/0.5919, allocations: 25.31 kB / 1.533 GB, free: 15.2 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.5929, allocations: 0.6216 MB / 1.533 GB, free: 14.58 MB / 1.232 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.004422/0.5974, allocations: 3.734 MB / 1.537 GB, free: 10.71 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008124/0.5982, allocations: 459.3 kB / 1.537 GB, free: 10.23 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.5985, allocations: 231.5 kB / 1.538 GB, free: 10 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.5987, allocations: 28.61 kB / 1.538 GB, free: 9.973 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.5988, allocations: 46.5 kB / 1.538 GB, free: 9.918 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 2.986e-06/0.5988, allocations: 3.938 kB / 1.538 GB, free: 9.914 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.002979/0.6017, allocations: 1.541 MB / 1.539 GB, free: 8.332 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.6018, allocations: 115.1 kB / 1.539 GB, free: 8.195 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008901/0.6027, allocations: 0.7233 MB / 1.54 GB, free: 7.465 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/0.6027, allocations: 33.7 kB / 1.54 GB, free: 7.426 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.6031, allocations: 420.6 kB / 1.54 GB, free: 7.008 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.6032, allocations: 170.6 kB / 1.541 GB, free: 6.84 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.6034, allocations: 114.3 kB / 1.541 GB, free: 6.723 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6036, allocations: 334 kB / 1.541 GB, free: 6.391 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.6039, allocations: 189.1 kB / 1.541 GB, free: 6.203 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005769/0.6044, allocations: 0.5617 MB / 1.542 GB, free: 5.512 MB / 1.232 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.002292/0.6067, allocations: 1.095 MB / 1.543 GB, free: 4.332 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6067, allocations: 0 / 1.543 GB, free: 4.332 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001092/0.6078, allocations: 0.6757 MB / 1.543 GB, free: 3.648 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.6079, allocations: 8 kB / 1.543 GB, free: 3.641 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.6079, allocations: 11.98 kB / 1.543 GB, free: 3.629 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.6079, allocations: 8 kB / 1.543 GB, free: 3.621 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.6084, allocations: 124.5 kB / 1.544 GB, free: 3.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.6084, allocations: 19.92 kB / 1.544 GB, free: 3.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.609, allocations: 31.94 kB / 1.544 GB, free: 3.449 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.6091, allocations: 28 kB / 1.544 GB, free: 3.422 MB / 1.232 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.0003912/0.6095, allocations: 269.6 kB / 1.544 GB, free: 3.148 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.6096, allocations: 87.42 kB / 1.544 GB, free: 3.062 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.6098, allocations: 95.59 kB / 1.544 GB, free: 2.969 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.6098, allocations: 4.094 kB / 1.544 GB, free: 2.965 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.6098, allocations: 4 kB / 1.544 GB, free: 2.961 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00086/0.6107, allocations: 0.7002 MB / 1.545 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.6133, allocations: 1.52 MB / 1.546 GB, free: 0.5547 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/0.6133, allocations: 12.5 kB / 1.546 GB, free: 0.543 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.6137, allocations: 103.9 kB / 1.546 GB, free: 452 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6137, allocations: 4 kB / 1.546 GB, free: 448 kB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.6138, allocations: 16 kB / 1.546 GB, free: 432 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/0.6138, allocations: 11.94 kB / 1.546 GB, free: 420 kB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6138, allocations: 7.938 kB / 1.546 GB, free: 412 kB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.615, allocations: 0.8689 MB / 1.547 GB, free: 15.47 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.6153, allocations: 135.4 kB / 1.547 GB, free: 15.34 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.6154, allocations: 20 kB / 1.547 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.6159, allocations: 15.98 kB / 1.547 GB, free: 15.3 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.709e-05/0.6159, allocations: 35.89 kB / 1.547 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.616, allocations: 19.98 kB / 1.547 GB, free: 15.25 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.000678/0.6166, allocations: 0.5146 MB / 1.548 GB, free: 14.73 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6166, allocations: 0 / 1.548 GB, free: 14.73 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007129/0.6174, allocations: 203.9 kB / 1.548 GB, free: 14.54 MB / 1.248 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.001857/0.6192, allocations: 1.479 MB / 1.55 GB, free: 12.99 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007878/0.62, allocations: 468.6 kB / 1.55 GB, free: 12.53 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/0.62, allocations: 4 kB / 1.55 GB, free: 12.53 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.6203, allocations: 204.3 kB / 1.55 GB, free: 12.33 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.6223, allocations: 475.7 kB / 1.551 GB, free: 11.88 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009429/0.6318, allocations: 6.649 MB / 1.557 GB, free: 4.824 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.6323, allocations: 432.9 kB / 1.558 GB, free: 4.375 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006535/0.6329, allocations: 207 kB / 1.558 GB, free: 4.168 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.6334, allocations: 295.3 kB / 1.558 GB, free: 3.879 MB / 1.248 GB Notification: Performance of SimCode: time 9.62e-07/0.6334, allocations: 4 kB / 1.558 GB, free: 3.875 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05776/0.6911, allocations: 24.28 MB / 1.582 GB, free: 12.2 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.94, allocations: 8.047 kB / 1.582 GB, free: 12.2 MB / 1.279 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 19.804588492028415]