Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001199/0.001199, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001305/0.001305, allocations: 215 kB / 20.13 MB, free: 2.949 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.421/1.421, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.897/2.897, allocations: 0.5003 GB / 0.8026 GB, free: 6.914 MB / 0.6387 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.00209/0.00209, allocations: 67.89 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8544/0.8565, allocations: 179 MB / 1.34 GB, free: 16.2 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2328/1.089, allocations: 194 MB / 1.53 GB, free: 6.074 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009422/1.099, allocations: 5.728 MB / 1.535 GB, free: 348 kB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/1.1, allocations: 51.56 kB / 1.535 GB, free: 296 kB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/1.101, allocations: 0.5942 MB / 1.536 GB, free: 15.69 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.003869/1.105, allocations: 1.68 MB / 1.537 GB, free: 14.01 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/1.108, allocations: 1.215 MB / 1.539 GB, free: 12.8 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003372/1.112, allocations: 2.514 MB / 1.541 GB, free: 10.27 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/1.113, allocations: 0.8209 MB / 1.542 GB, free: 9.434 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/1.115, allocations: 1.246 MB / 1.543 GB, free: 8.184 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/1.117, allocations: 0.8624 MB / 1.544 GB, free: 7.324 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001798/1.117, allocations: 100 kB / 1.544 GB, free: 7.227 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/1.12, allocations: 1.594 MB / 1.546 GB, free: 5.629 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005891/1.12, allocations: 498.6 kB / 1.546 GB, free: 5.141 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007463/1.121, allocations: 0.6261 MB / 1.547 GB, free: 4.512 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/1.124, allocations: 2.114 MB / 1.549 GB, free: 2.391 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.124, allocations: 0 / 1.549 GB, free: 2.391 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.353e-06/1.124, allocations: 4 kB / 1.549 GB, free: 2.387 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.038e-05/1.124, allocations: 0 / 1.549 GB, free: 2.387 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002452/1.127, allocations: 1.515 MB / 1.55 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/1.127, allocations: 12.03 kB / 1.55 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.415e-05/1.127, allocations: 22 kB / 1.55 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/1.127, allocations: 139.2 kB / 1.55 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/1.129, allocations: 334.9 kB / 1.551 GB, free: 320 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/1.13, allocations: 0.8125 MB / 1.552 GB, free: 15.46 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/1.13, allocations: 69.98 kB / 1.552 GB, free: 15.39 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/1.13, allocations: 95.69 kB / 1.552 GB, free: 15.3 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0019/1.132, allocations: 1.067 MB / 1.553 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.132, allocations: 3.984 kB / 1.553 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.159e-05/1.132, allocations: 36 kB / 1.553 GB, free: 14.15 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.713e-05/1.132, allocations: 34 kB / 1.553 GB, free: 14.12 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/1.134, allocations: 0.8275 MB / 1.554 GB, free: 13.29 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.005848/1.14, allocations: 4.422 MB / 1.558 GB, free: 8.562 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/1.141, allocations: 358.6 kB / 1.558 GB, free: 8.203 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/1.141, allocations: 197.3 kB / 1.558 GB, free: 8.008 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/1.141, allocations: 105.1 kB / 1.559 GB, free: 7.887 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/1.141, allocations: 46.5 kB / 1.559 GB, free: 7.832 MB / 1.232 GB Notification: Performance of pre-optimization done (n=36): time 2.084e-06/1.141, allocations: 0 / 1.559 GB, free: 7.832 MB / 1.232 GB Notification: Performance of matching and sorting (n=38): time 0.002532/1.144, allocations: 1.344 MB / 1.56 GB, free: 6.434 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.144, allocations: 59.39 kB / 1.56 GB, free: 6.363 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.145, allocations: 1.001 MB / 1.561 GB, free: 5.34 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/1.145, allocations: 33.7 kB / 1.561 GB, free: 5.301 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/1.146, allocations: 0.5002 MB / 1.561 GB, free: 4.797 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/1.146, allocations: 150.7 kB / 1.562 GB, free: 4.648 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002068/1.146, allocations: 126.2 kB / 1.562 GB, free: 4.52 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.146, allocations: 330 kB / 1.562 GB, free: 4.191 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/1.146, allocations: 237.2 kB / 1.562 GB, free: 3.961 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/1.147, allocations: 427.8 kB / 1.563 GB, free: 3.465 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002639/1.15, allocations: 1.215 MB / 1.564 GB, free: 2.152 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.15, allocations: 0 / 1.564 GB, free: 2.152 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001428/1.151, allocations: 0.7812 MB / 1.565 GB, free: 1.363 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.151, allocations: 7.938 kB / 1.565 GB, free: 1.355 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/1.151, allocations: 8 kB / 1.565 GB, free: 1.348 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/1.151, allocations: 11.98 kB / 1.565 GB, free: 1.336 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005714/1.152, allocations: 144.1 kB / 1.565 GB, free: 1.195 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/1.152, allocations: 15.94 kB / 1.565 GB, free: 1.18 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/1.153, allocations: 47.95 kB / 1.565 GB, free: 1.133 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/1.153, allocations: 28 kB / 1.565 GB, free: 1.105 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: 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.0004239/1.153, allocations: 317.5 kB / 1.565 GB, free: 0.7852 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/1.153, allocations: 111.3 kB / 1.565 GB, free: 0.6758 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001963/1.154, allocations: 105 kB / 1.565 GB, free: 0.5742 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/1.154, allocations: 4 kB / 1.565 GB, free: 0.5703 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.154, allocations: 0 / 1.565 GB, free: 0.5703 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007486/1.154, allocations: 0.6788 MB / 1.566 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/1.157, allocations: 1.569 MB / 1.568 GB, free: 14.13 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.157, allocations: 4 kB / 1.568 GB, free: 14.12 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003915/1.157, allocations: 91.83 kB / 1.568 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/1.157, allocations: 4.5 kB / 1.568 GB, free: 14.03 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/1.157, allocations: 19.94 kB / 1.568 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/1.157, allocations: 7.984 kB / 1.568 GB, free: 14 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/1.157, allocations: 11.94 kB / 1.568 GB, free: 13.99 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/1.158, allocations: 0.8301 MB / 1.569 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004053/1.159, allocations: 244.3 kB / 1.569 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/1.159, allocations: 19.98 kB / 1.569 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/1.16, allocations: 34.59 kB / 1.569 GB, free: 12.79 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/1.16, allocations: 35.84 kB / 1.569 GB, free: 12.75 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/1.16, allocations: 35.98 kB / 1.569 GB, free: 12.72 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001151/1.161, allocations: 0.7038 MB / 1.57 GB, free: 12 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.161, allocations: 4 kB / 1.57 GB, free: 12 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0008692/1.162, allocations: 255.9 kB / 1.57 GB, free: 11.75 MB / 1.248 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.001853/1.164, allocations: 1.482 MB / 1.571 GB, free: 10.19 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0009782/1.165, allocations: 492.6 kB / 1.572 GB, free: 9.711 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/1.165, allocations: 4 kB / 1.572 GB, free: 9.707 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/1.165, allocations: 183.7 kB / 1.572 GB, free: 9.527 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002711/1.168, allocations: 0.6097 MB / 1.573 GB, free: 8.93 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/1.179, allocations: 7.646 MB / 1.58 GB, free: 0.9062 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008536/1.18, allocations: 1.099 MB / 1.581 GB, free: 15.78 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008652/1.181, allocations: 244.4 kB / 1.581 GB, free: 15.54 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005099/1.182, allocations: 347.3 kB / 1.582 GB, free: 15.2 MB / 1.264 GB Notification: Performance of SimCode: time 6.81e-07/1.182, allocations: 0 / 1.582 GB, free: 15.2 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0608/1.242, allocations: 28.02 MB / 1.609 GB, free: 3.605 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.592/10.83, allocations: 4.062 kB / 1.609 GB, free: 3.602 MB / 1.279 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.07529974897625]