Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.00133/0.00133, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001529/0.001529, allocations: 214.8 kB / 22.25 MB, free: 5.129 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",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.002061/0.002061, allocations: 65.66 kB / 1.117 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2537/0.6133, allocations: 194.3 MB / 1.473 GB, free: 8.668 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01152/0.6248, allocations: 5.744 MB / 1.479 GB, free: 2.918 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.6266, allocations: 55.5 kB / 1.479 GB, free: 2.863 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.6286, allocations: 0.5981 MB / 1.479 GB, free: 2.262 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.6335, allocations: 1.692 MB / 1.481 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003642/0.6371, allocations: 1.257 MB / 1.482 GB, free: 15.31 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004387/0.6415, allocations: 2.574 MB / 1.485 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.643, allocations: 0.7161 MB / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.6458, allocations: 1.082 MB / 1.487 GB, free: 10.91 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.6486, allocations: 0.8802 MB / 1.487 GB, free: 10.04 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.6489, allocations: 100 kB / 1.487 GB, free: 9.941 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003847/0.6528, allocations: 1.637 MB / 1.489 GB, free: 8.301 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009429/0.6537, allocations: 0.4947 MB / 1.49 GB, free: 7.805 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.6553, allocations: 0.6221 MB / 1.49 GB, free: 7.18 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.6595, allocations: 2.114 MB / 1.492 GB, free: 5.059 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6595, allocations: 0 / 1.492 GB, free: 5.059 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6595, allocations: 0 / 1.492 GB, free: 5.059 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.585e-05/0.6596, allocations: 0 / 1.492 GB, free: 5.059 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00323/0.6628, allocations: 1.43 MB / 1.494 GB, free: 3.59 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.6629, allocations: 12.03 kB / 1.494 GB, free: 3.578 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.6631, allocations: 143.1 kB / 1.494 GB, free: 3.43 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.6651, allocations: 338.9 kB / 1.494 GB, free: 3.098 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.6667, allocations: 0.7402 MB / 1.495 GB, free: 2.332 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.587e-05/0.6668, allocations: 69.98 kB / 1.495 GB, free: 2.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001375/0.6669, allocations: 83.94 kB / 1.495 GB, free: 2.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.6688, allocations: 1.074 MB / 1.496 GB, free: 1.066 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.6689, allocations: 3.938 kB / 1.496 GB, free: 1.062 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.985e-05/0.6689, allocations: 36 kB / 1.496 GB, free: 1.027 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.199e-05/0.669, allocations: 41.98 kB / 1.496 GB, free: 0.9844 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.6706, allocations: 0.8236 MB / 1.497 GB, free: 168 kB / 1.186 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.006192/0.6768, allocations: 4.217 MB / 1.501 GB, free: 11.68 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.6775, allocations: 351.6 kB / 1.501 GB, free: 11.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.6778, allocations: 204.8 kB / 1.502 GB, free: 11.12 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.6779, allocations: 19.98 kB / 1.502 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.678, allocations: 38.56 kB / 1.502 GB, free: 11.05 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.224e-06/0.678, allocations: 4 kB / 1.502 GB, free: 11.05 MB / 1.201 GB Notification: Performance of matching and sorting (n=38): time 0.002618/0.6806, allocations: 1.285 MB / 1.503 GB, free: 9.734 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.6806, allocations: 55.41 kB / 1.503 GB, free: 9.668 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.6821, allocations: 0.9966 MB / 1.504 GB, free: 8.648 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.6822, allocations: 37.7 kB / 1.504 GB, free: 8.605 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004302/0.6826, allocations: 0.4963 MB / 1.504 GB, free: 8.105 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.6827, allocations: 150.8 kB / 1.505 GB, free: 7.957 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.6829, allocations: 122.2 kB / 1.505 GB, free: 7.832 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6831, allocations: 326 kB / 1.505 GB, free: 7.508 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.6836, allocations: 233.2 kB / 1.505 GB, free: 7.277 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000627/0.6842, allocations: 427.8 kB / 1.506 GB, free: 6.789 MB / 1.201 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002628/0.6868, allocations: 1.139 MB / 1.507 GB, free: 5.57 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.6868, allocations: 4 kB / 1.507 GB, free: 5.566 MB / 1.201 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001491/0.6883, allocations: 0.766 MB / 1.507 GB, free: 4.793 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.6883, allocations: 12.09 kB / 1.507 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.6883, allocations: 11.94 kB / 1.507 GB, free: 4.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.6884, allocations: 8 kB / 1.507 GB, free: 4.762 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.689, allocations: 139.8 kB / 1.508 GB, free: 4.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/0.689, allocations: 15.92 kB / 1.508 GB, free: 4.609 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/0.6899, allocations: 59.95 kB / 1.508 GB, free: 4.551 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.69, allocations: 24 kB / 1.508 GB, free: 4.527 MB / 1.201 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (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.0004916/0.6904, allocations: 309.6 kB / 1.508 GB, free: 4.215 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.6906, allocations: 103.3 kB / 1.508 GB, free: 4.113 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.6908, allocations: 105 kB / 1.508 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6908, allocations: 8 kB / 1.508 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6908, allocations: 0 / 1.508 GB, free: 4 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007576/0.6916, allocations: 0.6828 MB / 1.509 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.6943, allocations: 1.559 MB / 1.51 GB, free: 1.574 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.6943, allocations: 4 kB / 1.51 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004191/0.6948, allocations: 87.83 kB / 1.51 GB, free: 1.484 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.276e-05/0.6948, allocations: 15.92 kB / 1.511 GB, free: 1.469 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.6948, allocations: 12 kB / 1.511 GB, free: 1.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.57e-05/0.6948, allocations: 15.92 kB / 1.511 GB, free: 1.441 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6948, allocations: 4 kB / 1.511 GB, free: 1.438 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.6961, allocations: 0.8338 MB / 1.511 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/0.6966, allocations: 167.3 kB / 1.512 GB, free: 384 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.6968, allocations: 15.94 kB / 1.512 GB, free: 368 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007589/0.6976, allocations: 46.02 kB / 1.512 GB, free: 328 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.6977, allocations: 35.83 kB / 1.512 GB, free: 292 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.126e-05/0.6977, allocations: 23.98 kB / 1.512 GB, free: 268 kB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001187/0.6989, allocations: 0.7077 MB / 1.512 GB, free: 15.54 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6989, allocations: 4 kB / 1.512 GB, free: 15.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009024/0.6998, allocations: 255.9 kB / 1.513 GB, free: 15.29 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.001878/0.7017, allocations: 1.469 MB / 1.514 GB, free: 13.74 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001051/0.7027, allocations: 495.5 kB / 1.514 GB, free: 13.26 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7027, allocations: 0 / 1.514 GB, free: 13.26 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.703, allocations: 185.4 kB / 1.515 GB, free: 13.08 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.7059, allocations: 0.6257 MB / 1.515 GB, free: 12.46 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.7179, allocations: 7.636 MB / 1.523 GB, free: 4.441 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009313/0.7188, allocations: 1.091 MB / 1.524 GB, free: 3.32 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009552/0.7198, allocations: 260.3 kB / 1.524 GB, free: 3.062 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/0.7203, allocations: 347.3 kB / 1.524 GB, free: 2.723 MB / 1.217 GB Notification: Performance of SimCode: time 1.492e-06/0.7203, allocations: 0 / 1.524 GB, free: 2.723 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/0.797, allocations: 28.47 MB / 1.552 GB, free: 6.699 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.82, allocations: 13.47 kB / 1.552 GB, free: 6.691 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: 20.730806059204042]