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.001518/0.001518, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001616/0.001616, allocations: 156 kB / 23.01 MB, free: 4.605 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.416/1.416, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.894/2.894, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 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: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [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.002217/0.002217, allocations: 69.77 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9628/0.9651, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2329/1.198, allocations: 168.3 MB / 1.351 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01039/1.208, allocations: 5.413 MB / 1.356 GB, free: 8.074 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/1.21, allocations: 51.56 kB / 1.356 GB, free: 8.023 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/1.212, allocations: 0.5435 MB / 1.357 GB, free: 7.477 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004695/1.216, allocations: 1.673 MB / 1.358 GB, free: 5.797 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003558/1.22, allocations: 1.231 MB / 1.36 GB, free: 4.574 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004054/1.224, allocations: 2.555 MB / 1.362 GB, free: 2.012 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/1.225, allocations: 0.7043 MB / 1.363 GB, free: 1.289 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/1.228, allocations: 1.265 MB / 1.364 GB, free: 20 kB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/1.23, allocations: 0.826 MB / 1.365 GB, free: 15.2 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002569/1.231, allocations: 104 kB / 1.365 GB, free: 15.09 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002919/1.234, allocations: 1.247 MB / 1.366 GB, free: 13.84 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0006916/1.234, allocations: 0.5024 MB / 1.367 GB, free: 13.34 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0008918/1.235, allocations: 0.5135 MB / 1.367 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/1.239, allocations: 2.091 MB / 1.369 GB, free: 10.73 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/1.239, allocations: 0 / 1.369 GB, free: 10.73 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.764e-06/1.239, allocations: 0 / 1.369 GB, free: 10.73 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.544e-05/1.239, allocations: 0 / 1.369 GB, free: 10.73 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.002638/1.242, allocations: 1.43 MB / 1.371 GB, free: 9.258 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.242, allocations: 8.031 kB / 1.371 GB, free: 9.25 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/1.244, allocations: 339 kB / 1.371 GB, free: 8.918 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/1.245, allocations: 0.7518 MB / 1.372 GB, free: 8.137 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.519e-05/1.245, allocations: 69.98 kB / 1.372 GB, free: 8.066 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/1.245, allocations: 80 kB / 1.372 GB, free: 7.988 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/1.248, allocations: 1.472 MB / 1.373 GB, free: 6.379 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/1.248, allocations: 0 / 1.373 GB, free: 6.379 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-05/1.248, allocations: 44 kB / 1.373 GB, free: 6.336 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-05/1.248, allocations: 34 kB / 1.373 GB, free: 6.301 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001633/1.25, allocations: 0.8274 MB / 1.374 GB, free: 5.477 MB / 1.217 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.005583/1.255, allocations: 3.071 MB / 1.377 GB, free: 2.316 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006587/1.256, allocations: 361.3 kB / 1.378 GB, free: 1.957 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/1.256, allocations: 204.3 kB / 1.378 GB, free: 1.758 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/1.256, allocations: 23.98 kB / 1.378 GB, free: 1.734 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1.256, allocations: 42.5 kB / 1.378 GB, free: 1.684 MB / 1.217 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/1.256, allocations: 0 / 1.378 GB, free: 1.684 MB / 1.217 GB Notification: Performance of matching and sorting (n=38): time 0.002675/1.259, allocations: 1.242 MB / 1.379 GB, free: 420 kB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/1.259, allocations: 67.09 kB / 1.379 GB, free: 340 kB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.26, allocations: 0.7308 MB / 1.38 GB, free: 15.59 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/1.26, allocations: 33.7 kB / 1.38 GB, free: 15.55 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/1.261, allocations: 0.5191 MB / 1.38 GB, free: 15.02 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/1.261, allocations: 142.7 kB / 1.38 GB, free: 14.89 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/1.261, allocations: 122.2 kB / 1.381 GB, free: 14.76 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000223/1.261, allocations: 382.8 kB / 1.381 GB, free: 14.38 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/1.262, allocations: 237.2 kB / 1.381 GB, free: 14.15 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007097/1.262, allocations: 475.2 kB / 1.382 GB, free: 13.59 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.002649/1.265, allocations: 1.146 MB / 1.383 GB, free: 12.37 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.265, allocations: 0 / 1.383 GB, free: 12.37 MB / 1.232 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001496/1.267, allocations: 0.7506 MB / 1.383 GB, free: 11.61 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/1.267, allocations: 9.875 kB / 1.383 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.267, allocations: 4 kB / 1.383 GB, free: 11.6 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.267, allocations: 8 kB / 1.383 GB, free: 11.59 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/1.267, allocations: 151.7 kB / 1.384 GB, free: 11.44 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/1.267, allocations: 11.94 kB / 1.384 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/1.268, allocations: 59.95 kB / 1.384 GB, free: 11.37 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.885e-05/1.268, allocations: 28 kB / 1.384 GB, free: 11.34 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.000492/1.269, allocations: 309.5 kB / 1.384 GB, free: 11.03 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/1.269, allocations: 83.52 kB / 1.384 GB, free: 10.95 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/1.269, allocations: 79 kB / 1.384 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.269, allocations: 11.88 kB / 1.384 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.269, allocations: 4 kB / 1.384 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008096/1.27, allocations: 0.6879 MB / 1.385 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/1.272, allocations: 1.342 MB / 1.386 GB, free: 8.645 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/1.272, allocations: 4 kB / 1.386 GB, free: 8.641 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004201/1.273, allocations: 87.89 kB / 1.386 GB, free: 8.555 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/1.273, allocations: 4 kB / 1.386 GB, free: 8.551 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.005e-05/1.273, allocations: 12 kB / 1.386 GB, free: 8.539 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.273, allocations: 8 kB / 1.386 GB, free: 8.531 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.273, allocations: 7.938 kB / 1.386 GB, free: 8.523 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/1.274, allocations: 0.8168 MB / 1.387 GB, free: 7.641 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003595/1.274, allocations: 135.5 kB / 1.387 GB, free: 7.508 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/1.274, allocations: 12 kB / 1.387 GB, free: 7.496 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006449/1.275, allocations: 37.84 kB / 1.387 GB, free: 7.461 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.524e-05/1.275, allocations: 35.83 kB / 1.387 GB, free: 7.426 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/1.275, allocations: 27.98 kB / 1.387 GB, free: 7.398 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008178/1.276, allocations: 0.5029 MB / 1.388 GB, free: 6.902 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.276, allocations: 0 / 1.388 GB, free: 6.902 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009633/1.277, allocations: 255.9 kB / 1.388 GB, free: 6.652 MB / 1.232 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.0003657/1.277, allocations: 194.8 kB / 1.388 GB, free: 6.453 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.278, allocations: 483.9 kB / 1.389 GB, free: 5.98 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.278, allocations: 4 kB / 1.389 GB, free: 5.977 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002892/1.279, allocations: 181.2 kB / 1.389 GB, free: 5.801 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.281, allocations: 448.1 kB / 1.389 GB, free: 5.371 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/1.284, allocations: 1.814 MB / 1.391 GB, free: 3.477 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/1.284, allocations: 0.4993 MB / 1.392 GB, free: 2.945 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0007165/1.285, allocations: 218.3 kB / 1.392 GB, free: 2.727 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/1.285, allocations: 56.5 kB / 1.392 GB, free: 2.672 MB / 1.232 GB Notification: Performance of SimCode: time 7.12e-07/1.285, allocations: 0 / 1.392 GB, free: 2.672 MB / 1.232 GB Notification: Performance of Templates: time 0.0301/1.315, allocations: 15.72 MB / 1.407 GB, free: 3.328 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 800] 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: 9.706771458033472]